/*
 * Sipci dashboard: a dark "control room" frame (top bar + side menu) around a light work area,
 * the receipt's torn edge in gold under the top bar, Bricolage Grotesque for titles and figures.
 * Loaded after Filament's own styles (render hook), so plain selectors win over its layered rules.
 */
:root {
    --sk-nuit: #0B3A47;
    --sk-lagune: #0F4C5C;
    --sk-lagune-clair: #1F7A8C;
    --sk-or: #E0A100;
    --sk-encre: #14202B;
    --sk-brume: #F3F6F7;
    --sk-trait: #DCE4E8;
    --sk-doux: #5B6B75;
    /* Light text on the dark frame. */
    --sk-clair: #D5E9EE;
    --sk-muet: #7DB6C4;
    --sk-pale: #ACD3DC;
    --sk-titre: 'Bricolage Grotesque', 'Manrope', Arial, sans-serif;
}

/* Work area */
.fi-body { background: var(--sk-brume); }
.dark .fi-body { background: #0D161D; }
.fi-header-heading, .fi-simple-header-heading { font-family: var(--sk-titre); font-weight: 800; letter-spacing: -0.03em; }
.fi-header-heading { font-size: 2.15rem; line-height: 1.05; color: var(--sk-encre); }
.dark .fi-header-heading { color: #FFFFFF; }
.fi-section-header-heading, .fi-ta-header-heading, .fi-wi-stats-overview .fi-section-header-heading { font-family: var(--sk-titre); font-weight: 700; letter-spacing: -0.01em; }

/* Top bar: dark, with the gold torn edge of a till receipt */
/* .fi-topbar-ctn stays sticky (Filament): it is already the containing block of the edge below. */
.fi-topbar { background: var(--sk-nuit) !important; border-bottom: 0 !important; box-shadow: none !important; color: #FFFFFF; }
.fi-topbar-ctn::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 8px; pointer-events: none; z-index: 1;
    background: linear-gradient(-45deg, transparent 5.5px, var(--sk-or) 0) 0 0 / 12px 8px, linear-gradient(45deg, transparent 5.5px, var(--sk-or) 0) 0 0 / 12px 8px; }
.fi-topbar .fi-icon-btn, .fi-topbar .fi-icon { color: var(--sk-clair); }
/* Menus opening from the top bar (avatar menu…) are white: their icons keep normal colours. */
.fi-topbar .fi-dropdown-panel .fi-icon { color: var(--gray-400) !important; }
.fi-topbar .fi-dropdown-panel .fi-dropdown-list-item:hover .fi-icon { color: var(--gray-600) !important; }
.fi-topbar .fi-icon-btn:hover { background: rgba(255, 255, 255, .08); }
.fi-topbar .fi-logo { color: #FFFFFF; }
.fi-global-search .fi-input-wrp { background: rgba(255, 255, 255, .08) !important; border-radius: 999px; box-shadow: none !important; border: 1px solid rgba(255, 255, 255, .14); }
.fi-global-search .fi-input-wrp .fi-icon { color: var(--sk-pale); }
.fi-global-search .fi-input { color: #FFFFFF; }
.fi-global-search .fi-input::placeholder { color: var(--sk-pale); }
.fi-user-avatar { box-shadow: 0 0 0 2px var(--sk-or); }

/* Side menu: same dark frame, the open page in gold */
.fi-sidebar { background: var(--sk-nuit) !important; border-right: 0 !important; }
.fi-sidebar-header { background: var(--sk-nuit) !important; box-shadow: none !important; }
.fi-sidebar-nav { padding-top: 1.5rem; padding-inline: .75rem !important; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .18) transparent; }
.fi-sidebar-nav::-webkit-scrollbar { width: 6px; }
.fi-sidebar-nav::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .18); border-radius: 999px; }
.fi-sidebar-group-collapse-btn .fi-icon { color: var(--sk-muet); }
.fi-sidebar-item-btn { border-radius: 10px; }
.fi-sidebar-item-label { color: var(--sk-clair) !important; font-weight: 600; }
.fi-sidebar-item-icon { color: var(--sk-muet) !important; }
.fi-sidebar-item-btn:hover { background: rgba(255, 255, 255, .07) !important; }
.fi-sidebar-item.fi-active > .fi-sidebar-item-btn { background: var(--sk-or) !important; box-shadow: 0 6px 16px -8px rgba(224, 161, 0, .7); }
.fi-sidebar-item.fi-active .fi-sidebar-item-label, .fi-sidebar-item.fi-active .fi-sidebar-item-icon { color: var(--sk-encre) !important; }
.fi-sidebar .fi-sidebar-footer, .fi-sidebar [data-sk-footer] { color: var(--sk-pale); }
/* Side menu group titles: a coloured icon chip per section, so the menu reads as sections rather than one long list. */
.fi-sidebar-nav-groups { row-gap: .9rem !important; }
.fi-sidebar-group + .fi-sidebar-group { border-top: 1px solid rgba(255, 255, 255, .09); padding-top: .9rem; }
.fi-sidebar-group-btn { gap: .65rem !important; padding: .25rem .5rem !important; border-radius: 12px; cursor: pointer; transition: background .15s; }
.fi-sidebar-group-btn:hover { background: rgba(255, 255, 255, .05); }
.fi-sidebar-group-btn::before { content: ''; flex: none; width: 1.75rem; height: 1.75rem; border-radius: 9px; background: var(--sk-grp-tint, rgba(255, 255, 255, .08)) var(--sk-grp-icon, none) center / 1.05rem no-repeat; }
.fi-sidebar-group-label { color: #E6F1F4 !important; font-family: var(--sk-titre); font-size: .9rem !important; font-weight: 700; letter-spacing: -.005em !important; text-transform: none; }
.fi-sidebar-group.fi-active .fi-sidebar-group-label { color: #fff !important; }
.fi-sidebar-group.fi-active .fi-sidebar-group-btn::before { box-shadow: 0 0 0 1.5px var(--sk-grp-ring, rgba(255, 255, 255, .3)); }
.fi-sidebar-group-collapse-btn .fi-icon { color: rgba(255, 255, 255, .35) !important; width: 1rem; height: 1rem; }
.fi-sidebar-group-items { margin-top: .45rem; }
/* « Tableau de bord » (no section): same chip as the section titles. */
.fi-sidebar-group[data-group-label=""] .fi-sidebar-item-btn { gap: .65rem; padding-inline: .5rem; }
.fi-sidebar-group[data-group-label=""] .fi-sidebar-item-icon { box-sizing: border-box; width: 1.75rem !important; height: 1.75rem !important; padding: .35rem; border-radius: 9px; background: rgba(242, 193, 78, .15); color: #F2C14E !important; }
.fi-sidebar-group[data-group-label=""] .fi-sidebar-item-label { font-family: var(--sk-titre); font-size: .9rem; font-weight: 700; color: #E6F1F4 !important; }
.fi-sidebar-group[data-group-label=""] .fi-sidebar-item.fi-active .fi-sidebar-item-icon { background: rgba(20, 32, 43, .14); color: var(--sk-encre) !important; }
.fi-sidebar-group[data-group-label=""] .fi-sidebar-item.fi-active .fi-sidebar-item-label { color: var(--sk-encre) !important; }
.fi-sidebar-group.fi-collapsed .fi-sidebar-group-label { color: #B9CDD3 !important; }
.fi-sidebar-group[data-group-label="Console Sipci"] { --sk-grp-tint: rgba(92, 194, 211, 0.15); --sk-grp-ring: rgba(92, 194, 211, 0.55); --sk-grp-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.8' stroke='%235CC2D3' aria-hidden='true' data-slot='icon'%3E   %3Cpath stroke-linecap='round' stroke-linejoin='round' d='m6.75 7.5 3 2.25-3 2.25m4.5 0h3m-9 8.25h13.5A2.25 2.25 0 0 0 21 18V6a2.25 2.25 0 0 0-2.25-2.25H5.25A2.25 2.25 0 0 0 3 6v12a2.25 2.25 0 0 0 2.25 2.25Z'/%3E %3C/svg%3E "); }
.fi-sidebar-group[data-group-label="Caisses"] { --sk-grp-tint: rgba(242, 193, 78, 0.15); --sk-grp-ring: rgba(242, 193, 78, 0.55); --sk-grp-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.8' stroke='%23F2C14E' aria-hidden='true' data-slot='icon'%3E   %3Cpath stroke-linecap='round' stroke-linejoin='round' d='M15.75 15.75V18m-7.5-6.75h.008v.008H8.25v-.008Zm0 2.25h.008v.008H8.25V13.5Zm0 2.25h.008v.008H8.25v-.008Zm0 2.25h.008v.008H8.25V18Zm2.498-6.75h.007v.008h-.007v-.008Zm0 2.25h.007v.008h-.007V13.5Zm0 2.25h.007v.008h-.007v-.008Zm0 2.25h.007v.008h-.007V18Zm2.504-6.75h.008v.008h-.008v-.008Zm0 2.25h.008v.008h-.008V13.5Zm0 2.25h.008v.008h-.008v-.008Zm0 2.25h.008v.008h-.008V18Zm2.498-6.75h.008v.008h-.008v-.008Zm0 2.25h.008v.008h-.008V13.5ZM8.25 6h7.5v2.25h-7.5V6ZM12 2.25c-1.892 0-3.758.11-5.593.322C5.307 2.7 4.5 3.65 4.5 4.757V19.5a2.25 2.25 0 0 0 2.25 2.25h10.5a2.25 2.25 0 0 0 2.25-2.25V4.757c0-1.108-.806-2.057-1.907-2.185A48.507 48.507 0 0 0 12 2.25Z'/%3E %3C/svg%3E "); }
.fi-sidebar-group[data-group-label="Clients"] { --sk-grp-tint: rgba(255, 155, 122, 0.15); --sk-grp-ring: rgba(255, 155, 122, 0.55); --sk-grp-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.8' stroke='%23FF9B7A' aria-hidden='true' data-slot='icon'%3E   %3Cpath stroke-linecap='round' stroke-linejoin='round' d='M15 19.128a9.38 9.38 0 0 0 2.625.372 9.337 9.337 0 0 0 4.121-.952 4.125 4.125 0 0 0-7.533-2.493M15 19.128v-.003c0-1.113-.285-2.16-.786-3.07M15 19.128v.106A12.318 12.318 0 0 1 8.624 21c-2.331 0-4.512-.645-6.374-1.766l-.001-.109a6.375 6.375 0 0 1 11.964-3.07M12 6.375a3.375 3.375 0 1 1-6.75 0 3.375 3.375 0 0 1 6.75 0Zm8.25 2.25a2.625 2.625 0 1 1-5.25 0 2.625 2.625 0 0 1 5.25 0Z'/%3E %3C/svg%3E "); }
.fi-sidebar-group[data-group-label="Restaurant"] { --sk-grp-tint: rgba(244, 154, 194, 0.15); --sk-grp-ring: rgba(244, 154, 194, 0.55); --sk-grp-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.8' stroke='%23F49AC2' aria-hidden='true' data-slot='icon'%3E   %3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12 8.25v-1.5m0 1.5c-1.355 0-2.697.056-4.024.166C6.845 8.51 6 9.473 6 10.608v2.513m6-4.871c1.355 0 2.697.056 4.024.166C17.155 8.51 18 9.473 18 10.608v2.513M15 8.25v-1.5m-6 1.5v-1.5m12 9.75-1.5.75a3.354 3.354 0 0 1-3 0 3.354 3.354 0 0 0-3 0 3.354 3.354 0 0 1-3 0 3.354 3.354 0 0 0-3 0 3.354 3.354 0 0 1-3 0L3 16.5m15-3.379a48.474 48.474 0 0 0-6-.371c-2.032 0-4.034.126-6 .371m12 0c.39.049.777.102 1.163.16 1.07.16 1.837 1.094 1.837 2.175v5.169c0 .621-.504 1.125-1.125 1.125H4.125A1.125 1.125 0 0 1 3 20.625v-5.17c0-1.08.768-2.014 1.837-2.174A47.78 47.78 0 0 1 6 13.12M12.265 3.11a.375.375 0 1 1-.53 0L12 2.845l.265.265Zm-3 0a.375.375 0 1 1-.53 0L9 2.845l.265.265Zm6 0a.375.375 0 1 1-.53 0L15 2.845l.265.265Z'/%3E %3C/svg%3E "); }
.fi-sidebar-group[data-group-label="Fabrication"] { --sk-grp-tint: rgba(255, 184, 107, 0.15); --sk-grp-ring: rgba(255, 184, 107, 0.55); --sk-grp-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.8' stroke='%23FFB86B' aria-hidden='true' data-slot='icon'%3E   %3Cpath stroke-linecap='round' stroke-linejoin='round' d='M15.362 5.214A8.252 8.252 0 0 1 12 21 8.25 8.25 0 0 1 6.038 7.047 8.287 8.287 0 0 0 9 9.601a8.983 8.983 0 0 1 3.361-6.867 8.21 8.21 0 0 0 3 2.48Z'/%3E   %3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12 18a3.75 3.75 0 0 0 .495-7.468 5.99 5.99 0 0 0-1.925 3.547 5.975 5.975 0 0 1-2.133-1.001A3.75 3.75 0 0 0 12 18Z'/%3E %3C/svg%3E "); }
.fi-sidebar-group[data-group-label="Stock"] { --sk-grp-tint: rgba(92, 194, 211, 0.15); --sk-grp-ring: rgba(92, 194, 211, 0.55); --sk-grp-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.8' stroke='%235CC2D3' aria-hidden='true' data-slot='icon'%3E   %3Cpath stroke-linecap='round' stroke-linejoin='round' d='m21 7.5-9-5.25L3 7.5m18 0-9 5.25m9-5.25v9l-9 5.25M3 7.5l9 5.25M3 7.5v9l9 5.25m0-9v9'/%3E %3C/svg%3E "); }
.fi-sidebar-group[data-group-label="Achats"] { --sk-grp-tint: rgba(127, 178, 255, 0.15); --sk-grp-ring: rgba(127, 178, 255, 0.55); --sk-grp-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.8' stroke='%237FB2FF' aria-hidden='true' data-slot='icon'%3E   %3Cpath stroke-linecap='round' stroke-linejoin='round' d='M8.25 18.75a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m3 0h6m-9 0H3.375a1.125 1.125 0 0 1-1.125-1.125V14.25m17.25 4.5a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m3 0h1.125c.621 0 1.129-.504 1.09-1.124a17.902 17.902 0 0 0-3.213-9.193 2.056 2.056 0 0 0-1.58-.86H14.25M16.5 18.75h-2.25m0-11.177v-.958c0-.568-.422-1.048-.987-1.106a48.554 48.554 0 0 0-10.026 0 1.106 1.106 0 0 0-.987 1.106v7.635m12-6.677v6.677m0 4.5v-4.5m0 0h-12'/%3E %3C/svg%3E "); }
.fi-sidebar-group[data-group-label="Catalogue"] { --sk-grp-tint: rgba(179, 157, 255, 0.15); --sk-grp-ring: rgba(179, 157, 255, 0.55); --sk-grp-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.8' stroke='%23B39DFF' aria-hidden='true' data-slot='icon'%3E   %3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9.568 3H5.25A2.25 2.25 0 0 0 3 5.25v4.318c0 .597.237 1.17.659 1.591l9.581 9.581c.699.699 1.78.872 2.607.33a18.095 18.095 0 0 0 5.223-5.223c.542-.827.369-1.908-.33-2.607L11.16 3.66A2.25 2.25 0 0 0 9.568 3Z'/%3E   %3Cpath stroke-linecap='round' stroke-linejoin='round' d='M6 6h.008v.008H6V6Z'/%3E %3C/svg%3E "); }
.fi-sidebar-group[data-group-label="Terrain"] { --sk-grp-tint: rgba(95, 211, 154, 0.15); --sk-grp-ring: rgba(95, 211, 154, 0.55); --sk-grp-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.8' stroke='%235FD39A' aria-hidden='true' data-slot='icon'%3E   %3Cpath stroke-linecap='round' stroke-linejoin='round' d='M15 10.5a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z'/%3E   %3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 10.5c0 7.142-7.5 11.25-7.5 11.25S4.5 17.642 4.5 10.5a7.5 7.5 0 1 1 15 0Z'/%3E %3C/svg%3E "); }
.fi-sidebar-group[data-group-label="Rapports"] { --sk-grp-tint: rgba(242, 193, 78, 0.15); --sk-grp-ring: rgba(242, 193, 78, 0.55); --sk-grp-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.8' stroke='%23F2C14E' aria-hidden='true' data-slot='icon'%3E   %3Cpath stroke-linecap='round' stroke-linejoin='round' d='M3 13.125C3 12.504 3.504 12 4.125 12h2.25c.621 0 1.125.504 1.125 1.125v6.75C7.5 20.496 6.996 21 6.375 21h-2.25A1.125 1.125 0 0 1 3 19.875v-6.75ZM9.75 8.625c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125v11.25c0 .621-.504 1.125-1.125 1.125h-2.25a1.125 1.125 0 0 1-1.125-1.125V8.625ZM16.5 4.125c0-.621.504-1.125 1.125-1.125h2.25C20.496 3 21 3.504 21 4.125v15.75c0 .621-.504 1.125-1.125 1.125h-2.25a1.125 1.125 0 0 1-1.125-1.125V4.125Z'/%3E %3C/svg%3E "); }
.fi-sidebar-group[data-group-label="Comptabilité"] { --sk-grp-tint: rgba(95, 211, 154, 0.15); --sk-grp-ring: rgba(95, 211, 154, 0.55); --sk-grp-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.8' stroke='%235FD39A' aria-hidden='true' data-slot='icon'%3E   %3Cpath stroke-linecap='round' stroke-linejoin='round' d='M2.25 18.75a60.07 60.07 0 0 1 15.797 2.101c.727.198 1.453-.342 1.453-1.096V18.75M3.75 4.5v.75A.75.75 0 0 1 3 6h-.75m0 0v-.375c0-.621.504-1.125 1.125-1.125H20.25M2.25 6v9m18-10.5v.75c0 .414.336.75.75.75h.75m-1.5-1.5h.375c.621 0 1.125.504 1.125 1.125v9.75c0 .621-.504 1.125-1.125 1.125h-.375m1.5-1.5H21a.75.75 0 0 0-.75.75v.75m0 0H3.75m0 0h-.375a1.125 1.125 0 0 1-1.125-1.125V15m1.5 1.5v-.75A.75.75 0 0 0 3 15h-.75M15 10.5a3 3 0 1 1-6 0 3 3 0 0 1 6 0Zm3 0h.008v.008H18V10.5Zm-12 0h.008v.008H6V10.5Z'/%3E %3C/svg%3E "); }
.fi-sidebar-group[data-group-label="Équipe"] { --sk-grp-tint: rgba(255, 155, 122, 0.15); --sk-grp-ring: rgba(255, 155, 122, 0.55); --sk-grp-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.8' stroke='%23FF9B7A' aria-hidden='true' data-slot='icon'%3E   %3Cpath stroke-linecap='round' stroke-linejoin='round' d='M18 18.72a9.094 9.094 0 0 0 3.741-.479 3 3 0 0 0-4.682-2.72m.94 3.198.001.031c0 .225-.012.447-.037.666A11.944 11.944 0 0 1 12 21c-2.17 0-4.207-.576-5.963-1.584A6.062 6.062 0 0 1 6 18.719m12 0a5.971 5.971 0 0 0-.941-3.197m0 0A5.995 5.995 0 0 0 12 12.75a5.995 5.995 0 0 0-5.058 2.772m0 0a3 3 0 0 0-4.681 2.72 8.986 8.986 0 0 0 3.74.477m.94-3.197a5.971 5.971 0 0 0-.94 3.197M15 6.75a3 3 0 1 1-6 0 3 3 0 0 1 6 0Zm6 3a2.25 2.25 0 1 1-4.5 0 2.25 2.25 0 0 1 4.5 0Zm-13.5 0a2.25 2.25 0 1 1-4.5 0 2.25 2.25 0 0 1 4.5 0Z'/%3E %3C/svg%3E "); }
.fi-sidebar-group[data-group-label="Mon commerce"] { --sk-grp-tint: rgba(127, 178, 255, 0.15); --sk-grp-ring: rgba(127, 178, 255, 0.55); --sk-grp-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.8' stroke='%237FB2FF' aria-hidden='true' data-slot='icon'%3E   %3Cpath stroke-linecap='round' stroke-linejoin='round' d='M13.5 21v-7.5a.75.75 0 0 1 .75-.75h3a.75.75 0 0 1 .75.75V21m-4.5 0H2.36m11.14 0H18m0 0h3.64m-1.39 0V9.349M3.75 21V9.349m0 0a3.001 3.001 0 0 0 3.75-.615A2.993 2.993 0 0 0 9.75 9.75c.896 0 1.7-.393 2.25-1.016a2.993 2.993 0 0 0 2.25 1.016c.896 0 1.7-.393 2.25-1.015a3.001 3.001 0 0 0 3.75.614m-16.5 0a3.004 3.004 0 0 1-.621-4.72l1.189-1.19A1.5 1.5 0 0 1 5.378 3h13.243a1.5 1.5 0 0 1 1.06.44l1.19 1.189a3 3 0 0 1-.621 4.72M6.75 18h3.75a.75.75 0 0 0 .75-.75V13.5a.75.75 0 0 0-.75-.75H6.75a.75.75 0 0 0-.75.75v3.75c0 .414.336.75.75.75Z'/%3E %3C/svg%3E "); }
.fi-sidebar-group[data-group-label="Contrôle"] { --sk-grp-tint: rgba(179, 157, 255, 0.15); --sk-grp-ring: rgba(179, 157, 255, 0.55); --sk-grp-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.8' stroke='%23B39DFF' aria-hidden='true' data-slot='icon'%3E   %3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 12.75 11.25 15 15 9.75m-3-7.036A11.959 11.959 0 0 1 3.598 6 11.99 11.99 0 0 0 3 9.749c0 5.592 3.824 10.29 9 11.623 5.176-1.332 9-6.03 9-11.622 0-1.31-.21-2.571-.598-3.751h-.152c-3.196 0-6.1-1.248-8.25-3.285Z'/%3E %3C/svg%3E "); }

/* Cards, tables, stats: the Sipci 2 look (see the shared pieces at the end), on every page built with Filament. */
.fi-section, .fi-ta-ctn, .fi-wi-stats-overview-stat { border-radius: 22px !important; border: 1px solid var(--sk-card-line) !important; box-shadow: var(--sk-card-shadow) !important; background: var(--sk-card) !important; --tw-ring-shadow: 0 0 #0000 !important; }
.fi-section-not-contained { border: 0 !important; box-shadow: none !important; background: transparent !important; }
.fi-ta-ctn { overflow: hidden; }
.fi-ta-header { padding: 1.1rem 1.4rem !important; }
.fi-ta-header-heading, .fi-wi-stats-overview .fi-section-header-heading { font-family: var(--sk-titre); font-weight: 700; font-size: 1.02rem !important; letter-spacing: -.01em; }
.fi-ta-header-cell { background: transparent !important; border-bottom: 1px solid var(--sk-card-line); }
.fi-ta-header-cell, .fi-ta-header-cell-sort-btn { color: var(--sk-soft) !important; font-size: .74rem !important; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.fi-ta-row { transition: background .12s; }
.fi-ta-row:hover { background: var(--sk-faint) !important; }
.fi-ta-row td { border-color: var(--sk-card-line) !important; }
.fi-ta-empty-state-icon-bg { background: var(--sk-accent-tint) !important; border-radius: 16px !important; }
.fi-ta-empty-state-icon-bg .fi-icon { color: var(--sk-accent) !important; }
.fi-badge { border-radius: 999px; font-weight: 700; padding-inline: .6rem; }
.fi-pagination { padding: .75rem 1.4rem; }

/* Blocks of figures (Filament stats): icon in a tinted square, big figure, soft description. */
.fi-wi-stats-overview-stat { padding: 1.2rem 1.3rem !important; transition: transform .15s, box-shadow .15s; animation: sk2-in .5s cubic-bezier(.2, .7, .2, 1) both; }
a.fi-wi-stats-overview-stat:hover { transform: translateY(-2px); box-shadow: 0 1px 2px rgba(15, 76, 92, .05), 0 18px 40px -18px rgba(15, 76, 92, .28) !important; }
.fi-wi-stats-overview-stat-content { gap: .55rem !important; }
.fi-wi-stats-overview-stat-label-ctn { flex-direction: column; align-items: flex-start !important; gap: .8rem !important; }
.fi-wi-stats-overview-stat-label-ctn > .fi-icon { width: 2.5rem !important; height: 2.5rem !important; padding: .6rem; border-radius: 12px; background: var(--sk-accent-tint); color: var(--sk-accent) !important; box-sizing: border-box; }
.fi-wi-stats-overview-stat-label { font-size: .82rem !important; font-weight: 600 !important; color: var(--sk-soft) !important; }
.fi-wi-stats-overview-stat-value { font-family: var(--sk-titre); font-weight: 800 !important; letter-spacing: -.035em; font-variant-numeric: tabular-nums; font-size: 1.75rem !important; line-height: 1.05 !important; color: var(--sk-ink) !important; }
.fi-wi-stats-overview-stat-description { font-size: .8rem !important; }
/* A figure that needs attention (extraAttributes class): gold or red square, a light tint on the card. */
.fi-wi-stats-overview-stat.sk-tone-warn .fi-wi-stats-overview-stat-label-ctn > .fi-icon { background: var(--sk-gold-tint); color: #B07E00 !important; }
.fi-wi-stats-overview-stat.sk-tone-bad .fi-wi-stats-overview-stat-label-ctn > .fi-icon { background: var(--sk-down-bg); color: var(--sk-down) !important; }
.fi-wi-stats-overview-stat.sk-tone-bad { background: linear-gradient(160deg, var(--sk-down-bg), var(--sk-card) 65%) !important; }
.fi-wi-stats-overview-stat.sk-tone-good .fi-wi-stats-overview-stat-label-ctn > .fi-icon { background: var(--sk-up-bg); color: var(--sk-up) !important; }
.fi-wi-stats-overview-stat.sk-tone-calm .fi-wi-stats-overview-stat-label-ctn > .fi-icon { background: var(--sk-faint); color: var(--sk-soft) !important; }

/* Rows to look at (alerts, tasks): a gold edge when new, softer once seen. */
.fi-ta-row.sk-row-new > td:first-child { box-shadow: inset 4px 0 0 var(--sk-or); }
.fi-ta-row.sk-row-seen { opacity: .62; }
.fi-ta-row.sk-row-seen:hover { opacity: 1; }
.sk-cell-icon { width: 3.5rem; }
.sk-cell-icon .fi-ta-icon-item, .sk-cell-icon .fi-icon { padding: .45rem; border-radius: 12px; background: var(--sk-faint); box-sizing: content-box; }

/* Notice band (data not up to date, things to know). */
.sk2-notice { display: flex; gap: .9rem; align-items: flex-start; padding: 1rem 1.2rem; border-radius: 18px; background: var(--sk-gold-tint); color: #7A5200; font-size: .9rem; line-height: 1.5; border: 1px solid rgba(224, 161, 0, .25); }
.dark .sk2-notice { color: #F5D27A; }
.sk2-notice .sk2-icon { background: rgba(224, 161, 0, .18); color: #B07E00; }
.sk2-notice a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* Buttons and fields */
.fi-btn { border-radius: 999px; font-weight: 700; }
.fi-input-wrp { border-radius: 10px; }

/* Sign-in: the brand panel on the left, the form on the right */
.fi-simple-layout:has(.sk-aside) { display: flex; flex-direction: row; min-height: 100vh; align-items: stretch; background: #FFFFFF; }
.fi-simple-layout:has(.sk-aside) .fi-simple-main-ctn { flex: 1 1 480px; display: flex; align-items: center; justify-content: center; background: #FFFFFF; }
.fi-simple-layout:has(.sk-aside) .fi-simple-main { box-shadow: none !important; border: 0 !important; background: transparent !important; }
.fi-simple-layout:has(.sk-aside) .fi-logo { color: var(--sk-encre); }
.sk-aside { flex: 1.25 1 560px; position: relative; overflow: hidden; background: var(--sk-lagune); color: #FFFFFF; padding: 56px 64px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; font-family: 'Manrope', Arial, sans-serif; }
.sk-aside::before, .sk-aside::after { content: ""; position: absolute; border-radius: 50%; border: 2px solid var(--sk-lagune-clair); opacity: .5; pointer-events: none; }
.sk-aside::before { width: 640px; height: 640px; right: -260px; top: -220px; }
.sk-aside::after { width: 380px; height: 380px; right: -130px; top: -90px; opacity: .35; }
.sk-aside h2 { position: relative; font-family: var(--sk-titre); font-size: clamp(2.6rem, 4.4vw, 4.4rem); line-height: .95; font-weight: 800; letter-spacing: -0.045em; margin: 0; max-width: 11ch; }
.sk-aside p { position: relative; margin: 1.25rem 0 0; font-size: 1.1rem; line-height: 1.55; color: var(--sk-clair); max-width: 30rem; }
.sk-aside-brand { position: relative; display: flex; align-items: center; gap: .7rem; color: #FFFFFF; }
.sk-aside-chips { position: relative; display: flex; flex-wrap: wrap; gap: .5rem; }
.sk-aside-chips span { font-size: .8rem; font-weight: 700; color: var(--sk-clair); border: 1px solid #2A7689; border-radius: 999px; padding: .35rem .8rem; }
.sk-ticket { position: absolute; right: 72px; bottom: 0; width: 270px; }
.sk-ticket-slot { height: 22px; background: var(--sk-encre); border-radius: 10px 10px 0 0; padding: 0 16px 6px; display: flex; align-items: flex-end; }
.sk-ticket-slot i { display: block; height: 5px; width: 100%; background: #000; border-radius: 3px; }
.sk-ticket-paper { margin: 0 12px; background: #FFFDF8; color: var(--sk-encre); padding: 18px 18px 26px; font: 12.5px/1.7 'IBM Plex Mono', ui-monospace, Menlo, monospace; animation: sk-print 1.5s cubic-bezier(.2, .7, .2, 1) .2s both; }
.sk-ticket-paper b { font-weight: 600; }
.sk-ticket-row { display: flex; justify-content: space-between; }
.sk-ticket-rule { border-top: 1px dashed #9AA8B0; margin: 8px 0; }
.sk-stamp { position: absolute; right: -30px; top: 96px; transform: rotate(-14deg); border: 3px solid var(--sk-or); color: var(--sk-or); background: rgba(15, 76, 92, .88); border-radius: 12px; padding: 6px 12px; font: 800 1.15rem/1.05 var(--sk-titre); letter-spacing: .04em; text-align: center; animation: sk-stamp .3s ease-out 1.6s both; }
@keyframes sk-print { from { transform: translateY(-85%); } to { transform: translateY(0); } }
@keyframes sk-stamp { from { opacity: 0; transform: rotate(-14deg) scale(1.6); } to { opacity: 1; transform: rotate(-14deg) scale(1); } }
@media (prefers-reduced-motion: reduce) { .sk-ticket-paper, .sk-stamp { animation: none; } }
@media (max-width: 1100px) { .sk-ticket { display: none; } }
@media (max-width: 860px) { .fi-simple-layout:has(.sk-aside) { flex-direction: column; } .sk-aside { flex: none; padding: 32px 28px; } .sk-aside-chips { display: none; } }

/* Wordmark on dark backgrounds: a soft lagoon white instead of pure white; "CI" stays gold. */
.fi-topbar [data-sk-word], .sk-aside [data-sk-word] { color: #DCEBEF; }

/* White label: the supermarket's logo sits on a light tile so any logo reads on the dark bar. */
.sk-white-label .fi-topbar img.fi-logo { background: #FFFFFF; padding: 4px 10px; border-radius: 10px; box-sizing: content-box; }

/* Notification bell: in the top bar, the panel drops below it. */
.sk-bell-btn { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; color: var(--sk-clair, #D5E9EE); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.sk-bell-btn:hover { background: rgba(255, 255, 255, .12); }
.sk-bell-count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: #D92D20; color: #FFFFFF; font-size: .7rem; font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--sk-nuit, #0B3A47); }
.sk-bell-panel { width: 100%; color: var(--sk-encre, #14202B); }
.fi-dropdown-panel:has(.sk-bell-panel) { max-width: 92vw; border-radius: 18px !important; overflow: hidden; box-shadow: 0 24px 60px -20px rgba(20, 32, 43, .45), 0 0 0 1px rgba(20, 32, 43, .08) !important; }
.dark .sk-bell-panel { color: var(--gray-100); }
.sk-bell-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--sk-trait, #DCE4E8); }
.sk-bell-head strong { font-family: var(--sk-titre); font-size: 1.1rem; font-weight: 800; }
.sk-bell-head a { font-size: .8rem; font-weight: 700; color: var(--primary-600); }
/* Header fixed, list scrolls in the space left: the last notification is never cut off. */
.sk-bell-panel { display: flex; flex-direction: column; max-height: min(70vh, 560px); }
.sk-bell-head { flex: none; }
.sk-bell-list { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.sk-bell-list > :last-child { border-bottom: 0; }
.sk-bell-item { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px 12px 18px; border-bottom: 1px solid #EEF2F4; }
.sk-bell-item:hover { background: #F7FAFB; }
.dark .sk-bell-item { border-color: rgba(255, 255, 255, .06); }
.dark .sk-bell-item:hover { background: rgba(255, 255, 255, .03); }
.sk-bell-item.is-done { opacity: .55; }
.sk-bell-dot { flex: none; width: 10px; height: 10px; border-radius: 999px; margin-top: 6px; }
.sk-bell-text { flex: 1; min-width: 0; display: grid; gap: 2px; text-decoration: none; color: inherit; }
.sk-bell-title { font-weight: 700; font-size: .9rem; line-height: 1.3; }
.sk-bell-body { font-size: .82rem; line-height: 1.4; color: #3A4A54; }
.dark .sk-bell-body { color: var(--gray-300); }
.sk-bell-meta { font-size: .74rem; color: var(--sk-doux, #5B6B75); margin-top: 2px; }
.sk-bell-done { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 999px; color: var(--sk-doux, #5B6B75); border: 1px solid var(--sk-trait, #DCE4E8); }
.sk-bell-done:hover { color: #0F7B4F; border-color: #0F7B4F; }
.sk-bell-empty { padding: 28px 18px; text-align: center; font-size: .88rem; color: var(--sk-doux, #5B6B75); }

/* Price fields edited in a list stay narrow, so the row fits a laptop screen. */
.fi-ta-text-input.sk-price-input, .sk-price-input .fi-ta-text-input { width: 6.5rem; min-width: 0; margin-right: .5rem; }
.fi-ta-text-input.sk-price-input .fi-input-wrp, .sk-price-input .fi-input-wrp { width: 6.5rem; }

/* ── Pages built by hand (production, restaurant): plain classes, no compiled Tailwind ── */
.sk-filters { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: flex-end; }
.sk-filters label { display: grid; gap: .3rem; font-size: .875rem; font-weight: 600; color: #14202B; }
.sk-filters select, .sk-filters input { border: 1px solid #D7DEE2; border-radius: .6rem; padding: .5rem .75rem; background: #fff; min-width: 12rem; font-weight: 500; }
.sk-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 1rem; }
.sk-kpis > div { background: #fff; border: 1px solid #E3E8EB; border-radius: 1rem; padding: 1rem 1.2rem; display: grid; gap: .2rem; }
.sk-kpis span { font-size: .8rem; color: #5B6B75; }
.sk-kpis strong { font-size: 1.6rem; font-family: 'Bricolage Grotesque', var(--font-family), sans-serif; color: #14202B; }
.sk-kpis em { font-style: normal; font-size: .8rem; color: #5B6B75; }
.sk-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid #E3E8EB; border-radius: 1rem; overflow: hidden; font-size: .9rem; }
.sk-table th { text-align: left; font-size: .75rem; color: #5B6B75; font-weight: 600; padding: .75rem 1rem; background: #F6F8F9; border-bottom: 1px solid #E3E8EB; }
.sk-table td { padding: .75rem .75rem; border-bottom: 1px solid #EEF2F4; }
.sk-table tr:last-child td { border-bottom: 0; }
.sk-table td:not(:first-child), .sk-table th:not(:first-child) { text-align: right; }
.sk-pill { display: inline-block; padding: .15rem .55rem; border-radius: 999px; font-size: .8rem; font-weight: 600; background: #EEF2F4; color: #3A4A54; }
.sk-pill.is-good { background: #E3F4E8; color: #1D6B3A; }
.sk-pill.is-warn { background: #FCF0D9; color: #8A5A00; }
.sk-pill.is-bad { background: #FBE4E4; color: #A12A2A; }
.sk-empty { background: #fff; border: 1px dashed #C9D3D8; border-radius: 1rem; padding: 2rem; text-align: center; color: #5B6B75; }
.sk-note { font-size: .8rem; color: #5B6B75; }

/* Restaurant: the room (Sipci 2) */
.sk-room { display: grid; gap: 1.4rem; }
.sk-room-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.sk-legend { display: inline-flex; flex-wrap: wrap; gap: 1.1rem; font-size: .82rem; font-weight: 600; color: var(--sk-soft); padding: .55rem .9rem; border-radius: 14px; background: var(--sk-card); border: 1px solid var(--sk-card-line); box-shadow: var(--sk-card-shadow); }
.sk-legend i { display: inline-block; width: .8rem; height: .8rem; border-radius: .3rem; margin-right: .4rem; vertical-align: -1px; }
.sk-legend .is-free { background: var(--sk-card); border: 1.5px solid var(--sk-trait); }
.sk-legend .is-busy { background: var(--sk-accent); }
.sk-legend .is-ready { background: var(--sk-or); }
.sk-requests { display: grid; gap: .6rem; }
.sk-request { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; background: var(--sk-gold-tint); border: 1px solid rgba(224, 161, 0, .45); border-radius: 18px; padding: .9rem 1.1rem; color: var(--sk-ink); animation: sk-pulse 2s ease-in-out 3; }
.sk-request.is-call { background: var(--sk-accent-tint); border-color: rgba(31, 122, 140, .35); }
.sk-request-what { display: grid; gap: .15rem; }
.sk-request-what span { color: var(--sk-soft); font-size: .88rem; }
.sk-request-what em { font-style: normal; font-weight: 600; }
.sk-request-what small { color: var(--sk-soft); font-size: .76rem; }
.sk-request-actions { display: flex; gap: .7rem; align-items: center; }
.sk-request-actions .sk-send { width: auto; padding: .6rem 1.2rem; margin: 0; }
@keyframes sk-pulse { 50% { box-shadow: 0 0 0 6px rgba(224, 161, 0, .2); } }
@media (prefers-reduced-motion: reduce) { .sk-request { animation: none; } }
.sk-area { font-family: var(--sk-titre); font-size: .95rem; font-weight: 700; color: var(--sk-ink); margin-bottom: .7rem; display: flex; align-items: baseline; gap: .5rem; }
.sk-area small { font-family: var(--font-family, 'Manrope'), sans-serif; font-size: .78rem; font-weight: 600; color: var(--sk-soft); }
.sk-tables { display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: .8rem; }
.sk-table-tile { position: relative; display: grid; gap: .25rem; align-content: start; text-align: left; padding: 1rem 1.05rem; min-height: 6.4rem; border-radius: 18px; border: 1px solid var(--sk-card-line); background: var(--sk-card); color: var(--sk-ink); box-shadow: var(--sk-card-shadow); cursor: pointer; transition: transform .12s, box-shadow .15s; }
.sk-table-tile:hover { transform: translateY(-2px); }
.sk-table-tile:active { transform: scale(.97); }
.sk-table-tile strong { font-size: 1.2rem; font-family: var(--sk-titre); font-weight: 800; letter-spacing: -.02em; }
.sk-table-tile span { font-size: .92rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.sk-table-tile em { font-style: normal; font-size: .76rem; opacity: .85; }
.sk-table-tile.is-free { border-style: dashed; border-color: var(--sk-trait); box-shadow: none; }
.sk-table-tile.is-free span { color: var(--sk-soft); font-weight: 600; }
.dark .sk-table-tile.is-free { border-color: rgba(255, 255, 255, .14); }
.sk-table-tile.is-busy { background: linear-gradient(135deg, #0F4C5C, #1F7A8C); border-color: transparent; color: #fff; }
.sk-table-tile.is-ready { background: linear-gradient(135deg, #E0A100, #F2C14E); border-color: transparent; color: #14202B; box-shadow: 0 0 0 3px var(--sk-card), 0 0 0 5px #E0A100; }
.sk-table-tile.is-ready::after { content: ''; position: absolute; top: .8rem; right: .8rem; width: .55rem; height: .55rem; border-radius: 50%; background: #14202B; animation: sk-blink 1.2s ease-in-out infinite; }
@keyframes sk-blink { 50% { opacity: .2; } }
@media (prefers-reduced-motion: reduce) { .sk-table-tile.is-ready::after { animation: none; } }
.sk-room-empty { display: flex; gap: .9rem; align-items: center; color: var(--sk-soft); }

/* Restaurant: one order (Sipci 2) */
.sk-order { display: grid; grid-template-columns: minmax(0, 1fr) 24rem; gap: 1.25rem; align-items: start; }
@media (max-width: 1100px) { .sk-order { grid-template-columns: 1fr; } }
.sk-menu { display: grid; gap: .9rem; }
.sk-menu-top { display: flex; gap: .75rem; }
.sk-menu-top input { flex: 1; border: 1px solid var(--sk-card-line); border-radius: 14px; padding: .65rem 1rem; background: var(--sk-card); color: var(--sk-ink); box-shadow: var(--sk-card-shadow); }
.sk-back { border: 1px solid var(--sk-card-line); background: var(--sk-card); color: var(--sk-ink); border-radius: 14px; padding: .55rem 1rem; font-weight: 700; box-shadow: var(--sk-card-shadow); }
.sk-back:hover { background: var(--sk-faint); }
.sk-chips { display: inline-flex; flex-wrap: wrap; gap: .25rem; padding: .3rem; border-radius: 16px; background: var(--sk-card); border: 1px solid var(--sk-card-line); box-shadow: var(--sk-card-shadow); justify-self: start; }
.sk-chips button { border: 0; border-radius: 12px; padding: .5rem .95rem; font-size: .875rem; font-weight: 700; background: transparent; color: var(--sk-soft); transition: background .15s, color .15s; }
.sk-chips button:hover { color: var(--sk-ink); background: var(--sk-faint); }
.sk-chips button.is-on { background: var(--sk-accent-tint); color: var(--sk-accent); }
.sk-dishes { display: grid; grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr)); gap: .7rem; }
.sk-dish { display: grid; gap: .4rem; align-content: space-between; text-align: left; min-height: 5.2rem; padding: .75rem .85rem; background: var(--sk-card); color: var(--sk-ink); border: 1px solid var(--sk-card-line); border-radius: 16px; box-shadow: var(--sk-card-shadow); cursor: pointer; transition: transform .1s, border-color .15s; overflow: hidden; }
.sk-dish:hover { border-color: var(--sk-accent); }
.sk-dish:active { transform: scale(.97); background: var(--sk-accent-tint); }
.sk-dish img { width: calc(100% + 1.7rem); margin: -.75rem -.85rem .1rem; aspect-ratio: 16 / 10; object-fit: cover; }
.sk-dish strong { font-size: .92rem; line-height: 1.25; }
.sk-dish span { font-size: .85rem; color: var(--sk-accent); font-weight: 800; font-variant-numeric: tabular-nums; }
.sk-dish.is-out span { color: var(--sk-down); }
.sk-slip { position: sticky; top: 5.5rem; background: var(--sk-card); color: var(--sk-ink); border: 1px solid var(--sk-card-line); border-radius: var(--sk-radius); box-shadow: var(--sk-card-shadow); display: grid; max-height: calc(100vh - 7rem); grid-template-rows: auto 1fr auto; overflow: hidden; }
.sk-slip header { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: 1.05rem 1.2rem; border-bottom: 1px dashed var(--sk-card-line); }
.sk-slip header strong { display: block; font-size: 1.2rem; font-family: var(--sk-titre); font-weight: 800; }
.sk-slip header span { font-size: .78rem; color: var(--sk-soft); }
.sk-slip ul { overflow-y: auto; min-height: 0; padding: .25rem 0; margin: 0; list-style: none; }
.sk-slip li { padding: .7rem 1.2rem; border-bottom: 1px solid var(--sk-card-line); }
.sk-slip li.is-paid { opacity: .55; }
.sk-line { display: grid; grid-template-columns: auto 1fr auto; gap: .6rem; align-items: center; }
.sk-qty { display: inline-flex; align-items: center; gap: .3rem; }
.sk-qty button { width: 1.9rem; height: 1.9rem; border-radius: 10px; border: 1px solid var(--sk-card-line); background: var(--sk-faint); color: var(--sk-ink); font-weight: 800; line-height: 1; }
.sk-qty b { min-width: 1.2rem; text-align: center; }
.sk-name { font-weight: 700; font-size: .92rem; }
.sk-name em { display: block; font-style: normal; font-weight: 600; font-size: .78rem; color: #B07E00; }
.sk-amount { font-weight: 800; font-variant-numeric: tabular-nums; }
.sk-state { display: flex; flex-wrap: wrap; gap: .5rem .7rem; align-items: center; margin-top: .4rem; }
.sk-link { font-size: .78rem; font-weight: 700; color: var(--sk-accent); background: none; border: 0; padding: 0; }
.sk-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.sk-hint { color: var(--sk-soft); font-size: .9rem; text-align: center; padding: 2rem 1rem !important; border: 0 !important; }
.sk-slip footer { display: grid; gap: .6rem; padding: 1rem 1.2rem; border-top: 1px dashed var(--sk-card-line); background: var(--sk-faint); }
.sk-total { display: flex; justify-content: space-between; align-items: baseline; color: var(--sk-soft); font-weight: 600; }
.sk-total strong { font-size: 1.6rem; font-family: var(--sk-titre); font-weight: 800; letter-spacing: -.03em; color: var(--sk-ink); font-variant-numeric: tabular-nums; }
.sk-send, .sk-served { width: 100%; border: 0; border-radius: 14px; padding: .85rem; font-weight: 800; font-size: 1rem; color: #fff; background: linear-gradient(135deg, #0F4C5C, #1F7A8C); box-shadow: 0 10px 22px -12px rgba(15, 76, 92, .6); }
.sk-send:hover, .sk-served:hover { filter: brightness(1.08); }
.sk-served { background: linear-gradient(135deg, #E0A100, #F2C14E); color: #14202B; box-shadow: 0 10px 22px -12px rgba(224, 161, 0, .7); }
.sk-actions { display: flex; gap: .5rem; justify-content: space-between; flex-wrap: wrap; }
.sk-actions.is-small { opacity: .85; }

/* Kitchen screen (Sipci 2): big, readable from a distance. */
.sk-kitchen { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 1rem; align-items: start; }
.sk-kt { background: var(--sk-card); color: var(--sk-ink); border: 1px solid var(--sk-card-line); border-radius: 18px; box-shadow: var(--sk-card-shadow); overflow: hidden; }
.sk-kt header { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; padding: .85rem 1.05rem; background: linear-gradient(135deg, #0F4C5C, #1F7A8C); color: #fff; }
.sk-kt header strong { font-size: 1.2rem; font-family: var(--sk-titre); font-weight: 800; }
.sk-kt header span { font-size: .85rem; opacity: .85; }
.sk-kt.is-late header { background: linear-gradient(135deg, #9A3412, #C2410C); }
.sk-kt.is-late { box-shadow: 0 0 0 2px #C2410C, var(--sk-card-shadow); }
.sk-kt ul { list-style: none; margin: 0; padding: 0; }
.sk-kt li button { display: grid; grid-template-columns: auto 1fr; gap: .6rem; width: 100%; text-align: left; padding: .8rem 1.05rem; border: 0; border-bottom: 1px solid var(--sk-card-line); background: transparent; color: var(--sk-ink); font-size: 1.05rem; }
.sk-kt li button:hover { background: var(--sk-faint); }
.sk-kt li button b { font-size: 1.2rem; font-family: var(--sk-titre); }
.sk-kt li button em { display: block; font-style: normal; font-size: .85rem; color: #B07E00; font-weight: 700; }
.sk-kt li.is-done button { background: var(--sk-up-bg); text-decoration: line-through; color: var(--sk-up); }
.sk-kt footer { padding: .75rem 1.05rem; }
.sk-kt footer button { width: 100%; border: 0; border-radius: 12px; padding: .7rem; font-weight: 800; background: var(--sk-up); color: #fff; }
.dark .sk-kt footer button { color: #0B1A12; }
.sk-h2 { font-family: 'Bricolage Grotesque', var(--font-family), sans-serif; font-size: 1.25rem; font-weight: 800; color: #14202B; margin-top: .5rem; }
.sk-mini { display: inline-block; border: 1px solid #D7DEE2; background: #fff; border-radius: .55rem; padding: .35rem .7rem; font-size: .8rem; font-weight: 700; color: #3A4A54; text-decoration: none; cursor: pointer; }
.sk-mini.is-main { background: var(--primary-600); border-color: var(--primary-600); color: #fff; }

/* ── Sipci 2 — shared pieces for every page ──
 * Light and airy: white cards with large rounded corners and a soft shadow, an icon in a tinted square,
 * the figure big, its trend in a chip, a small curve of the last days. Lagoon = today, gold = now, grey = before.
 * Cards come in softly on load. Everything has its dark version. */
:root {
    --sk-card: #FFFFFF;
    --sk-card-line: #E8EEF1;
    --sk-card-shadow: 0 1px 2px rgba(15, 76, 92, .04), 0 12px 32px -16px rgba(15, 76, 92, .16);
    --sk-ink: #14202B;
    --sk-soft: #64748B;
    --sk-faint: #EEF3F5;
    --sk-accent: #1F7A8C;
    --sk-accent-tint: #E4F2F5;
    --sk-gold-tint: #FDF3D8;
    --sk-up: #0F8A4F; --sk-up-bg: #E3F6EC;
    --sk-down: #C2410C; --sk-down-bg: #FDECE4;
    --sk-radius: 22px;
}
.dark {
    --sk-card: #111C24; --sk-card-line: rgba(255, 255, 255, .07); --sk-card-shadow: 0 1px 0 rgba(255, 255, 255, .03) inset;
    --sk-ink: #F1F5F7; --sk-soft: #94A3AE; --sk-faint: rgba(255, 255, 255, .05);
    --sk-accent: #5CC2D3; --sk-accent-tint: rgba(92, 194, 211, .12); --sk-gold-tint: rgba(224, 161, 0, .14);
    --sk-up: #5FD39A; --sk-up-bg: rgba(95, 211, 154, .12); --sk-down: #FF9B7A; --sk-down-bg: rgba(255, 155, 122, .12);
}

.sk2-card { position: relative; background: var(--sk-card); border: 1px solid var(--sk-card-line); border-radius: var(--sk-radius); box-shadow: var(--sk-card-shadow); padding: 1.35rem 1.4rem; color: var(--sk-ink); min-width: 0;
    animation: sk2-in .5s cubic-bezier(.2, .7, .2, 1) both; }
.sk2-card:nth-child(2) { animation-delay: .05s; } .sk2-card:nth-child(3) { animation-delay: .1s; } .sk2-card:nth-child(4) { animation-delay: .15s; } .sk2-card:nth-child(5) { animation-delay: .2s; }
@keyframes sk2-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
a.sk2-card { text-decoration: none; transition: transform .15s, box-shadow .15s; }
a.sk2-card:hover { transform: translateY(-2px); box-shadow: 0 1px 2px rgba(15, 76, 92, .05), 0 18px 40px -18px rgba(15, 76, 92, .28); }
.sk2-head { display: flex; justify-content: space-between; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.sk2-title { font-family: var(--sk-titre); font-weight: 700; font-size: 1.02rem; letter-spacing: -.01em; color: var(--sk-ink); }
.sk2-label { font-size: .82rem; font-weight: 600; color: var(--sk-soft); }
.sk2-muted { font-size: .8rem; color: var(--sk-soft); }
.sk2-link { font-size: .8rem; font-weight: 700; color: var(--sk-accent); text-decoration: none; white-space: nowrap; }
.sk2-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.sk2-num { font-family: var(--sk-titre); font-weight: 800; letter-spacing: -.035em; font-variant-numeric: tabular-nums; line-height: 1; color: var(--sk-ink); }
.sk2-num small { font-family: var(--font-family, 'Manrope'), sans-serif; font-size: .38em; font-weight: 700; letter-spacing: 0; color: var(--sk-soft); margin-left: .3em; }

/* Icon in a tinted square. */
.sk2-icon { width: 2.5rem; height: 2.5rem; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--sk-accent-tint); color: var(--sk-accent); }
.sk2-icon svg { width: 1.3rem; height: 1.3rem; }
.sk2-icon.is-gold { background: var(--sk-gold-tint); color: #B07E00; }
.sk2-icon.is-good { background: var(--sk-up-bg); color: var(--sk-up); }
.sk2-icon.is-bad { background: var(--sk-down-bg); color: var(--sk-down); }

/* Trend chip. */
.sk2-delta { display: inline-flex; align-items: center; gap: .2rem; padding: .25rem .55rem; border-radius: 999px; font-size: .75rem; font-weight: 800; font-variant-numeric: tabular-nums; background: var(--sk-faint); color: var(--sk-soft); white-space: nowrap; }
.sk2-delta svg { width: .8rem; height: .8rem; }
.sk2-delta.is-up { background: var(--sk-up-bg); color: var(--sk-up); }
.sk2-delta.is-down { background: var(--sk-down-bg); color: var(--sk-down); }

/* Live dot. */
.sk2-live { display: inline-block; width: .5rem; height: .5rem; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 0 rgba(34, 197, 94, .55); animation: sk2-pulse 2s infinite; flex: none; }
.sk2-live.is-off { background: #A9B6BD; animation: none; }
@keyframes sk2-pulse { 70% { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
@media (prefers-reduced-motion: reduce) { .sk2-live, .sk2-card { animation: none; } }

/* Status pill. */
.sk2-pill { display: inline-flex; align-items: center; gap: .35rem; font-size: .72rem; font-weight: 700; line-height: 1; padding: .38rem .62rem; border-radius: 999px; white-space: nowrap; background: var(--sk-faint); color: var(--sk-soft); }
.sk2-pill.is-good { background: var(--sk-up-bg); color: var(--sk-up); }
.sk2-pill.is-bad { background: var(--sk-down-bg); color: var(--sk-down); }
.sk2-pill.is-warn { background: var(--sk-gold-tint); color: #8A5A00; }

/* Area chart (inline SVG) with hover columns: .sk2-area > svg + .sk2-hover > .col > .tip */
.sk2-area { position: relative; }
.sk2-area svg { display: block; width: 100%; overflow: visible; }
.sk2-area .line-now { fill: none; stroke: var(--sk-accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.sk2-area .line-before { fill: none; stroke: var(--sk-soft); stroke-width: 1.5; stroke-dasharray: 4 5; opacity: .55; vector-effect: non-scaling-stroke; }
.sk2-area .grid { stroke: var(--sk-card-line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.sk2-hover { position: absolute; inset: 0; display: flex; }
.sk2-hover .col { position: relative; flex: 1; }
.sk2-hover .col::before { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; border-left: 1px dashed var(--sk-soft); opacity: 0; }
.sk2-hover .col:hover::before, .sk2-hover .col:focus::before { opacity: .5; }
.sk2-hover .tip { position: absolute; top: -.5rem; left: 50%; transform: translate(-50%, -100%); background: var(--sk-ink); color: var(--sk-card); font-size: .74rem; line-height: 1.45; padding: .5rem .65rem; border-radius: 10px; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .12s; z-index: 5; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .45); }
.sk2-hover .col:hover .tip, .sk2-hover .col:focus .tip { opacity: 1; }
.sk2-hover .col:first-child .tip { left: 0; transform: translate(0, -100%); }
.sk2-hover .col:last-child .tip { left: auto; right: 0; transform: translate(0, -100%); }
.sk2-axis { display: flex; margin-top: .55rem; font-size: .7rem; color: var(--sk-soft); font-variant-numeric: tabular-nums; }
.sk2-axis span { flex: 1; text-align: center; }
.sk2-key { display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .75rem; color: var(--sk-soft); }
.sk2-key span { display: inline-flex; align-items: center; gap: .4rem; }
.sk2-key i { width: 1rem; height: 0; border-top: 2.5px solid var(--sk-accent); border-radius: 2px; }
.sk2-key i.before { border-top: 2px dashed var(--sk-soft); opacity: .7; }

/* Sparkline (inline SVG, 100 × 32). */
.sk2-spark { display: block; width: 100%; height: 34px; overflow: visible; }
.sk2-spark path { fill: none; stroke: var(--sk-accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.sk2-spark .fill { fill: var(--sk-accent); stroke: none; opacity: .1; }

/* Donut (set --a, --b, --c in % and the colours). */
.sk2-donut { --a: 0; --b: 0; width: 148px; height: 148px; border-radius: 50%; flex: none; display: grid; place-items: center; text-align: center;
    background: radial-gradient(closest-side, var(--sk-card) 72%, transparent 73% 100%),
        conic-gradient(var(--sk-accent) 0 calc(var(--a) * 1%), var(--sk-or) 0 calc((var(--a) + var(--b)) * 1%), #A9B6BD 0); }
.sk2-donut .sk2-num { font-size: 1.15rem; }

/* Ranking rows with a progress bar (shops, products, cashiers…). */
.sk2-rank { display: grid; gap: .25rem; }
.sk2-rank-row { display: grid; grid-template-columns: 1.8rem minmax(0, 1fr) auto; gap: .35rem .85rem; align-items: center; padding: .7rem .5rem; border-radius: 14px; }
.sk2-rank-row:hover { background: var(--sk-faint); }
.sk2-rank-row .pos { width: 1.8rem; height: 1.8rem; border-radius: 9px; display: grid; place-items: center; font-size: .78rem; font-weight: 800; background: var(--sk-faint); color: var(--sk-soft); grid-row: span 2; }
.sk2-rank-row:first-child .pos { background: var(--sk-gold-tint); color: #B07E00; }
.sk2-rank-row .name { font-weight: 700; font-size: .92rem; display: flex; align-items: center; gap: .5rem; min-width: 0; }
.sk2-rank-row .name span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sk2-rank-row .amt { text-align: right; font-family: var(--sk-titre); font-weight: 800; font-size: 1.05rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.sk2-rank-row .sub { grid-column: 2 / 4; display: flex; align-items: center; gap: .75rem; }
.sk2-progress { flex: 1; height: 7px; border-radius: 999px; background: var(--sk-faint); overflow: hidden; }
.sk2-progress i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--sk-accent), #2FA3B8); }
.sk2-progress i.is-done { background: linear-gradient(90deg, var(--sk-up), #3CC47E); }
.sk2-rank-row .sub .sk2-muted { white-space: nowrap; font-variant-numeric: tabular-nums; }

/* Bento grid. */
.sk2-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(12, minmax(0, 1fr)); }
.sk2-grid > * { grid-column: span 12; }
@media (min-width: 768px) { .sk2-grid > .md-6 { grid-column: span 6; } }
@media (min-width: 1200px) {
    .sk2-grid > .xl-3 { grid-column: span 3; } .sk2-grid > .xl-4 { grid-column: span 4; } .sk2-grid > .xl-5 { grid-column: span 5; }
    .sk2-grid > .xl-7 { grid-column: span 7; } .sk2-grid > .xl-8 { grid-column: span 8; }
}

/* Ranked tables (best sellers…): rank chip, product with photo, share bar, margin pill. */
.sk2-pos { width: 1.9rem; height: 1.9rem; border-radius: 10px; display: inline-grid; place-items: center; font-size: .8rem; font-weight: 800; background: var(--sk-faint); color: var(--sk-soft); font-variant-numeric: tabular-nums; }
.sk2-pos.is-top { background: var(--sk-gold-tint); color: #B07E00; }
.sk2-prod { display: inline-flex; align-items: center; gap: .75rem; min-width: 0; }
.sk2-prod img, .sk2-prod-letter { width: 2.4rem; height: 2.4rem; border-radius: 12px; flex: none; object-fit: cover; }
.sk2-prod-letter { display: grid; place-items: center; background: var(--sk-accent-tint); color: var(--sk-accent); font-family: var(--sk-titre); font-weight: 800; }
.sk2-prod > span:last-child { display: grid; line-height: 1.25; }
.sk2-prod strong { font-weight: 700; }
.sk2-prod small, .sk2-share small { color: var(--sk-soft); font-size: .76rem; }
.sk2-share { display: grid; gap: .3rem; min-width: 9rem; }
.sk2-share strong { font-family: var(--sk-titre); font-weight: 800; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.sk2-share .bar { height: 6px; border-radius: 999px; background: var(--sk-faint); overflow: hidden; }
.sk2-share .bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--sk-accent), #2FA3B8); }
.sk2-margin { display: inline-flex; align-items: center; gap: .5rem; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* Live dot inside a pill (open till…). */
.sk2-dot { width: .45rem; height: .45rem; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0 currentColor; animation: sk2-dot 1.8s ease-out infinite; }
@keyframes sk2-dot { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, currentColor 55%, transparent); } 100% { box-shadow: 0 0 0 .45rem transparent; } }

/* Till cards above « Clôtures ». */
.rc-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.rc { display: grid; gap: .7rem; align-content: start; padding: 1.15rem 1.2rem; }
.rc.is-open { background: linear-gradient(160deg, var(--sk-up-bg), var(--sk-card) 55%); }
.rc-head { display: flex; align-items: center; gap: .75rem; }
.rc-name { flex: 1; min-width: 0; display: grid; line-height: 1.25; }
.rc-name b { font-family: var(--sk-titre); font-weight: 700; font-size: 1rem; color: var(--sk-ink); }
.rc-name small { color: var(--sk-soft); font-size: .78rem; }
.rc-big { display: grid; gap: .3rem; }
.rc-big .sk2-num { font-size: 1.75rem; }
.rc-line { display: flex; justify-content: space-between; align-items: center; gap: .5rem; font-size: .84rem; color: var(--sk-soft); }
.rc-line b { color: var(--sk-ink); font-variant-numeric: tabular-nums; }
.rc-last { display: grid; gap: .45rem; padding-top: .7rem; border-top: 1px dashed var(--sk-card-line); }
.rc-never { font-style: italic; }

/* « Messages aux clients »: composer + WhatsApp preview on the left, recipients on the right. */
.cm-grid { display: grid; gap: 1.25rem; align-items: start; }
@media (min-width: 1100px) { .cm-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } .cm-list { position: sticky; top: 5rem; } }
.cm-segments { display: grid; gap: .5rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); margin-top: .45rem; }
.cm-seg { display: flex; align-items: center; gap: .6rem; padding: .7rem .85rem; border-radius: 14px; border: 1px solid var(--sk-card-line); background: transparent; color: var(--sk-ink); font-size: .86rem; font-weight: 600; text-align: left; transition: border-color .15s, background .15s; }
.cm-seg span { flex: 1; }
.cm-seg b { font-variant-numeric: tabular-nums; font-size: .8rem; padding: .15rem .5rem; border-radius: 999px; background: var(--sk-faint); color: var(--sk-soft); }
.cm-seg .fi-icon { color: var(--sk-soft); }
.cm-seg:hover { border-color: var(--sk-accent); }
.cm-seg.is-on { border-color: var(--sk-accent); background: var(--sk-accent-tint); box-shadow: inset 0 0 0 1px var(--sk-accent); }
.cm-seg.is-on .fi-icon, .cm-seg.is-on b { color: var(--sk-accent); }
.cm-seg.is-on b { background: var(--sk-card); }
.cm-text textarea { width: 100%; margin-top: .45rem; padding: .8rem .95rem; border-radius: 14px; border: 1px solid var(--sk-card-line); background: transparent; color: var(--sk-ink); font: inherit; line-height: 1.5; resize: vertical; }
.cm-text textarea:focus { outline: none; border-color: var(--sk-accent); box-shadow: 0 0 0 4px var(--sk-accent-tint); }
.cm-vars { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin-top: .5rem; }
.cm-vars .sk2-pill { cursor: pointer; border: 0; }
.cm-vars .sk2-pill:hover { background: var(--sk-accent-tint); color: var(--sk-accent); }
.cm-phone { margin-top: .45rem; padding: 1.1rem; border-radius: 18px; background: #E9DFD3 radial-gradient(rgba(0, 0, 0, .04) 1px, transparent 1px) 0 0 / 14px 14px; }
.dark .cm-phone { background-color: #1B2A30; }
.cm-bubble { position: relative; max-width: 85%; margin-left: auto; padding: .6rem .8rem 1.3rem; border-radius: 12px 4px 12px 12px; background: #D9FDD3; color: #111B21; font-size: .9rem; line-height: 1.45; box-shadow: 0 1px .5px rgba(0, 0, 0, .13); white-space: normal; word-wrap: break-word; }
.dark .cm-bubble { background: #005C4B; color: #E9EDEF; }
.cm-bubble small { position: absolute; right: .6rem; bottom: .3rem; font-size: .68rem; color: #53BDEB; }
.cm-rows { display: grid; max-height: 34rem; overflow-y: auto; margin: 0 -.5rem; }
.cm-row { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .65rem .5rem; border-radius: 12px; border-top: 1px solid var(--sk-card-line); }
.cm-row:first-child { border-top: 0; }
.cm-row:hover { background: var(--sk-faint); }
.cm-row.is-sent { opacity: .6; }
.cm-who { display: grid; line-height: 1.3; min-width: 0; }
.cm-who strong { font-weight: 700; color: var(--sk-ink); }
.cm-who small { color: var(--sk-soft); font-size: .78rem; }
.cm-send { display: inline-flex; align-items: center; gap: .35rem; padding: .5rem .95rem; border-radius: 999px; background: #1FA855; color: #fff; font-size: .84rem; font-weight: 700; text-decoration: none; white-space: nowrap; box-shadow: 0 6px 14px -8px #1FA855; transition: transform .12s; }
.cm-send:hover { transform: translateY(-1px); }

/* « Numéros de série »: big scan field and a light table. */
.sn-card { max-width: 720px; }
.sn-search { display: flex; align-items: center; gap: .75rem; padding: .85rem 1.1rem; border: 2px solid var(--sk-card-line); border-radius: 16px; color: var(--sk-soft); transition: border-color .15s, box-shadow .15s; }
.sn-search:focus-within { border-color: var(--sk-accent); box-shadow: 0 0 0 4px var(--sk-accent-tint); color: var(--sk-accent); }
.sn-search input { flex: 1; min-width: 0; border: 0; outline: none; box-shadow: none; background: transparent; color: var(--sk-ink); font-size: 1.15rem; font-weight: 600; padding: 0; }
.sn-table { width: 100%; border-collapse: collapse; font-size: .9rem; color: var(--sk-ink); }
.sn-table th { text-align: left; padding: .9rem 1.2rem; font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--sk-soft); border-bottom: 1px solid var(--sk-card-line); }
.sn-table td { padding: .85rem 1.2rem; border-top: 1px solid var(--sk-card-line); vertical-align: top; }
.sn-table td strong, .sn-table td small { display: block; }
.sn-table td small { color: var(--sk-soft); font-size: .78rem; }
.sn-table tbody tr:hover { background: var(--sk-faint); }
.sn-serial { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 700; padding: .3rem .55rem; border-radius: 8px; background: var(--sk-accent-tint); color: var(--sk-accent); }
.sn-empty { text-align: center; color: var(--sk-soft); padding: 2rem !important; }

/* Sipci 2 — report pages drawn by hand (Pilotage, Marges, Ventes par serveur): .mg-bar, .mg-chips, .mg-kpis, .mg-card, .mg-table. */
.mg-bar { display: flex; flex-wrap: wrap; gap: .75rem; align-items: end; justify-content: space-between; }
.mg-bar label { display: grid; gap: .3rem; font-size: .78rem; font-weight: 600; color: var(--sk-soft); }
.mg-bar input, .mg-bar select { border: 1px solid var(--sk-card-line); border-radius: 12px; padding: .5rem .7rem; background: var(--sk-card); color: var(--sk-ink); box-shadow: var(--sk-card-shadow); }
.mg-chips { display: inline-flex; flex-wrap: wrap; gap: .25rem; padding: .3rem; border-radius: 16px; background: var(--sk-card); border: 1px solid var(--sk-card-line); box-shadow: var(--sk-card-shadow); }
.mg-chips button { border: 0; border-radius: 12px; padding: .45rem .9rem; font-weight: 700; font-size: .85rem; background: transparent; color: var(--sk-soft); transition: background .15s, color .15s; }
.mg-chips button:hover { color: var(--sk-ink); background: var(--sk-faint); }
.mg-chips button[aria-pressed='true'] { background: var(--sk-accent-tint); color: var(--sk-accent); }
.mg-kpis { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(165px, 1fr)); }
.mg-kpi { position: relative; min-width: 0; background: var(--sk-card); border: 1px solid var(--sk-card-line); border-radius: var(--sk-radius); box-shadow: var(--sk-card-shadow); padding: 1.15rem 1.2rem; color: var(--sk-ink); animation: sk2-in .5s cubic-bezier(.2, .7, .2, 1) both; }
.mg-kpi > span:not(.sk2-icon) { display: block; font-size: .82rem; font-weight: 600; color: var(--sk-soft); padding-right: 2.8rem; }
.mg-kpi > b { display: block; font-family: var(--sk-titre); font-size: clamp(1.3rem, 1.6vw, 1.75rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; margin: .7rem 0 .45rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.mg-kpi > b small { font-family: var(--font-family, 'Manrope'), sans-serif; font-size: .4em; font-weight: 700; letter-spacing: 0; color: var(--sk-soft); margin-left: .3em; }
.mg-kpi > small { display: block; color: var(--sk-soft); font-size: .78rem; }
.mg-kpi > .sk2-icon { position: absolute; top: 1rem; right: 1rem; width: 2.2rem; height: 2.2rem; }
.mg-kpi.hero { background: linear-gradient(135deg, #0F4C5C, #1F7A8C); border-color: transparent; color: #fff; }
.mg-kpi.hero > span, .mg-kpi.hero > small, .mg-kpi.hero > b small { color: rgba(255, 255, 255, .78); }
.mg-kpi.hero > .sk2-icon { background: rgba(255, 255, 255, .16); color: #fff; }
.mg-kpi.gold { box-shadow: inset 0 0 0 2px #E0A100, var(--sk-card-shadow); }
.mg-card { background: var(--sk-card); border: 1px solid var(--sk-card-line); border-radius: var(--sk-radius); box-shadow: var(--sk-card-shadow); overflow: hidden; color: var(--sk-ink); }
.mg-card h3 { font-family: var(--sk-titre); font-weight: 700; font-size: 1.02rem; padding: 1.1rem 1.35rem .6rem; }
.mg-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: .9rem; }
.mg-table th { text-align: left; color: var(--sk-soft); font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: .75rem .75rem; border-bottom: 1px solid var(--sk-card-line); white-space: nowrap; }
.mg-table td { padding: .7rem .75rem; border-top: 1px solid var(--sk-card-line); vertical-align: middle; }
.mg-table tbody tr:first-child td { border-top: 0; }
.mg-table tbody tr:hover td { background: var(--sk-faint); }
.mg-table .n, .mg-table th.n { text-align: right; white-space: nowrap; }
.mg-table tr.total td { font-weight: 800; border-top: 2px solid var(--sk-ink); background: var(--sk-faint); }
.mg-meter { height: 7px; border-radius: 999px; background: var(--sk-faint); min-width: 90px; position: relative; overflow: hidden; }
.mg-meter i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; background: linear-gradient(90deg, var(--sk-accent), #2FA3B8); }
.mg-meter i.neg { background: var(--sk-down); }
.mg-card .pos, .mg-kpi .pos { color: var(--sk-up); } .mg-card .neg, .mg-kpi .neg { color: var(--sk-down); }
.mg-steps td:first-child { color: var(--sk-soft); }
.mg-note { font-size: .8rem; color: var(--sk-soft); }
.mg-warn { border: 1px solid #F2C14E; background: var(--sk-gold-tint); color: #6B4E00; border-radius: 16px; padding: .8rem 1rem; font-size: .88rem; }
.dark .mg-warn { color: #F5D27A; border-color: rgba(224, 161, 0, .35); }
.mg-grid { display: grid; gap: 1.1rem; grid-template-columns: minmax(0, 2.2fr) minmax(280px, 1fr); align-items: start; }
@media (max-width: 1500px) { .mg-grid { grid-template-columns: minmax(0, 1fr); } }
.mg-table td.mg-best > span, .mg-table td.mg-worst > span { display: inline-block; padding: .3rem .55rem; border-radius: 999px; font-weight: 800; }
.mg-table td.mg-best > span { background: var(--sk-up-bg); color: var(--sk-up); }
.mg-table td.mg-worst > span { background: var(--sk-down-bg); color: var(--sk-down); }

/* Fabrication: Production du jour (pd-*) and the driver's phone « Ma tournée » (rd-*). */
.pd-empty { display: flex; gap: .9rem; align-items: center; padding: .6rem 1.35rem 1.3rem; color: var(--sk-soft); font-size: .9rem; }
.sk2-card.pd-empty { padding: 1.2rem 1.3rem; }
.pd-lines { display: flex; flex-wrap: wrap; gap: .35rem; }
.pd-actions { display: inline-flex; flex-wrap: wrap; gap: .4rem; justify-content: flex-end; }
.pd-btn { display: inline-flex; align-items: center; gap: .35rem; border: 1px solid var(--sk-card-line); background: var(--sk-card); color: var(--sk-ink); border-radius: 10px; padding: .4rem .7rem; font-size: .8rem; font-weight: 700; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s; }
.pd-btn svg { width: 1rem; height: 1rem; color: var(--sk-soft); }
.pd-btn:hover { background: var(--sk-faint); }
.pd-btn.is-main { background: var(--sk-accent); border-color: var(--sk-accent); color: #fff; }
.pd-btn.is-main svg { color: #fff; }
.pd-btn.is-main:hover { filter: brightness(1.08); }
.pd-btn.is-big { padding: .65rem 1rem; font-size: .9rem; border-radius: 12px; }
.rd-wrap { display: grid; gap: .9rem; max-width: 640px; }
.rd-stop { display: grid; gap: .8rem; padding: 1.1rem 1.2rem; }
.rd-head { display: flex; gap: .75rem; align-items: center; }
.rd-who { flex: 1; min-width: 0; display: grid; line-height: 1.25; }
.rd-who strong { font-size: 1.05rem; }
.rd-who small { color: var(--sk-soft); font-size: .82rem; }
.rd-foot { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; justify-content: space-between; padding-top: .7rem; border-top: 1px solid var(--sk-card-line); }

/* Trésorerie: account cards that pick the list below, with their quick actions. */
.mg-kpi.tr-acc { cursor: pointer; display: grid; gap: .15rem; align-content: start; transition: box-shadow .15s, transform .15s; }
.mg-kpi.tr-acc > b { margin: .55rem 0 .3rem; }
.mg-kpi.tr-acc:hover { transform: translateY(-2px); }
.mg-kpi.tr-acc[aria-pressed='true'] { box-shadow: inset 0 0 0 2px var(--sk-accent), var(--sk-card-shadow); }
.tr-kpis { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); align-items: start; }
.tr-act { display: flex; gap: .15rem; margin-top: .5rem; padding-top: .45rem; border-top: 1px solid var(--sk-card-line); }
.mg-table tr.tr-sub td { color: var(--sk-soft); font-weight: 700; background: var(--sk-faint); }
.mg-table tr.tr-pick { cursor: pointer; }
.mg-table tr.tr-pick.is-on td { background: var(--sk-accent-tint); }
.mg-table tr.tr-pick.is-on td:first-child { box-shadow: inset 3px 0 0 var(--sk-accent); }

/* Top bar: the user menu opens from the name (resources/views/vendor/filament-panels/components/user-menu.blade.php). */
.fi-topbar .sk-user-chip { display: inline-flex; align-items: center; gap: .5rem; height: 2.5rem; padding: 0 .7rem 0 .8rem; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); color: #F1F5F7; cursor: pointer; transition: background .15s, border-color .15s; }
.fi-topbar .sk-user-chip:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .2); }
.sk-user-dot { width: .5rem; height: .5rem; border-radius: 50%; background: #3DD68C; box-shadow: 0 0 0 3px rgba(61, 214, 140, .2); flex: none; }
.sk-user-chip-name { font-weight: 700; font-size: .9rem; max-width: 11rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fi-topbar .sk-user-chip .fi-icon { width: 1rem; height: 1rem; color: var(--sk-muet); }
.sk-user-head { display: grid; justify-items: start; gap: .35rem; padding: .75rem .9rem .6rem; border-bottom: 1px solid var(--gray-200); }
.dark .sk-user-head { border-color: rgba(255, 255, 255, .08); }
.sk-user-head small { font-size: .75rem; color: var(--gray-500); }

/* Sipci 2 — Licence and « Installer sur ce poste » */
.sk-licence, .sk-install { display: grid; gap: 1.1rem; max-width: 760px; }
.sk-licence-hero { display: flex; align-items: center; gap: 1.1rem; }
.sk-licence-hero .sk2-icon { width: 3.2rem; height: 3.2rem; border-radius: 16px; }
.sk-licence-hero .sk2-icon svg { width: 1.6rem; height: 1.6rem; }
.sk-licence-hero > div:nth-child(2) { flex: 1; min-width: 0; }
.sk-licence-headline { font-family: var(--sk-titre); font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.sk-licence-hero p { margin: .35rem 0 0; color: var(--sk-soft); font-size: .92rem; }
.sk-licence-hero.is-good .sk2-icon { background: var(--sk-up-bg); color: var(--sk-up); }
.sk-licence-hero.is-warn { background: linear-gradient(135deg, var(--sk-gold-tint), var(--sk-card) 70%); }
.sk-licence-hero.is-warn .sk2-icon { background: rgba(224, 161, 0, .18); color: #B07E00; }
.sk-licence-hero.is-bad { background: linear-gradient(135deg, var(--sk-down-bg), var(--sk-card) 70%); }
.sk-licence-hero.is-bad .sk2-icon { background: var(--sk-down-bg); color: var(--sk-down); }
.sk-licence-days { text-align: center; flex: none; padding-left: 1.1rem; border-left: 1px solid var(--sk-card-line); }
.sk-licence-days strong { display: block; font-family: var(--sk-titre); font-size: 2.2rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.sk-licence-days span { font-size: .75rem; font-weight: 600; color: var(--sk-soft); }
.sk-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: .8rem; margin: 0; }
.sk-facts > div { background: var(--sk-faint); border-radius: 14px; padding: .75rem .9rem; }
.sk-facts dt { font-size: .75rem; font-weight: 600; color: var(--sk-soft); }
.sk-facts dd { margin: .2rem 0 0; font-weight: 700; color: var(--sk-ink); }
.sk-licence-modules { display: flex; flex-wrap: wrap; gap: .4rem; }
.sk-install-done { display: flex; align-items: center; gap: .9rem; }
.sk-install-card { transition: border-color .15s, box-shadow .15s; }
.sk-install-card.is-mine { border-color: var(--sk-accent); box-shadow: 0 0 0 3px var(--sk-accent-tint), var(--sk-card-shadow); }
.sk-install-head { display: flex; align-items: center; gap: .8rem; margin-bottom: .9rem; }
.sk-install-head .sk2-pill { margin-left: auto; }
.sk-install-card p { margin: 0 0 .9rem; }
.sk-install-card ul { margin: 0; padding-left: 1.2rem; display: grid; gap: .45rem; list-style: disc; }
.sk-install-buttons { display: flex; gap: .6rem; flex-wrap: wrap; }
.sk-install-note { margin: .9rem 0 0 !important; color: var(--sk-soft); font-size: .86rem; }
@media (max-width: 640px) { .sk-licence-hero { flex-wrap: wrap; } .sk-licence-days { border-left: 0; padding-left: 0; } }

/* Ticket de caisse : réglages à gauche, ticket à droite. */
.sk-receipt { display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 1024px) { .sk-receipt { grid-template-columns: minmax(0, 1fr) 360px; } }
.sk-receipt-form { display: grid; gap: 1.5rem; }
.sk-receipt-preview { position: sticky; top: 5rem; }
.sk-receipt-paper { background: #E9EEF1; border-radius: 16px; padding: 1.25rem; }
.sk-receipt-paper iframe { display: block; width: 100%; height: 72vh; min-height: 520px; border: 0; background: #fff; border-radius: 4px; box-shadow: 0 10px 30px -12px rgba(20, 32, 43, .35); }
.sk-receipt-preview p { margin-top: .6rem; font-size: .8rem; color: #6B7C86; text-align: center; }
.dark .sk-receipt-paper { background: rgba(255, 255, 255, .06); }
