body.home-catalog-ready{background:var(--adm-bg)!important}
@layer sysimple-actions {
 body.home-catalog-ready .home-view-toolbar button,body.home-catalog-ready #home-catalog .hc-tabs button[aria-pressed=true]{background:var(--adm-surface)!important;color:var(--adm-text)!important;border:1px solid var(--adm-border)!important;box-shadow:none!important}
 body.home-catalog-ready .home-view-toolbar button[aria-pressed=true],body.home-catalog-ready #home-catalog .hc-tabs button[aria-pressed=true]{color:var(--adm-primary)!important;border-color:var(--adm-primary)!important}
}
body.home-catalog-ready #studio-home::before,body.home-catalog-ready #studio-home::after{display:none!important}
body.home-catalog-ready:not(.home-sidebar-view) #studio-home{padding:28px 20px!important;background:linear-gradient(125deg,transparent 58%,rgba(60,141,188,.035) 58%,rgba(60,141,188,.035) 72%,transparent 72%),radial-gradient(ellipse at 100% 0,rgba(0,184,212,.065),transparent 55%),var(--adm-bg)!important;background-repeat:no-repeat!important;background-size:100% 800px!important;min-height:0}
body.home-catalog-ready:not([data-sysimple-shell=true]):not(.home-sidebar-view) #studio-home{padding-top:calc(var(--home-header-h) + 28px)!important}
body.home-catalog-ready #home-module-cards{display:none!important}
body.home-catalog-ready #studio-home .studio-shell{max-width:1320px}
#home-catalog{color:var(--adm-text);font:13px/1.5 var(--adm-font);min-width:0}
#home-catalog h2{font-size:25px;letter-spacing:-.5px;margin:0 0 6px;color:var(--adm-text)}
#home-catalog h3{font-size:14px;margin:0 0 12px;color:var(--adm-text)}
#home-catalog p{margin:0;color:var(--adm-text-soft)}
#home-catalog .hc-intro{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-bottom:20px}
#home-catalog .hc-search,#home-catalog .hc-ownership{min-height:38px;width:320px;max-width:100%;padding:8px 12px;border:1px solid var(--adm-border);background:var(--adm-surface);color:var(--adm-text);border-radius:3px}
#home-catalog .hc-search::placeholder{color:var(--adm-text-soft);opacity:1}
#home-catalog .hc-access{display:flex;flex-wrap:wrap;align-items:center;gap:12px 24px;padding:12px 16px;margin-bottom:24px;border:1px solid var(--adm-border);background:var(--adm-surface)}
#home-catalog .hc-access>span{color:var(--adm-text-soft)}
#home-catalog .hc-execution{color:var(--adm-primary);font-weight:600;padding:5px 0}
#home-catalog .hc-original{margin-left:auto;min-width:0}
#home-catalog .hc-original summary{cursor:pointer;padding:5px 0;color:var(--adm-text)}
#home-catalog .hc-original[open]{flex-basis:100%;margin:0}
body[data-theme] #home-catalog .home-sysimple-module{width:100%;margin:8px 0 0;padding:0}
body[data-theme] #home-catalog .studio-card{padding:12px!important;min-height:0!important;height:auto!important;transform:none!important;box-shadow:none!important;border:1px solid var(--adm-border)!important;background:var(--adm-surface-2)!important;border-radius:2px!important;display:block}
#home-catalog .studio-card h4,#home-catalog .studio-card>p{display:none!important}
#home-catalog .home-legacy-links{margin:0;padding:0}
#home-catalog .home-legacy-link{padding:6px 0}
#home-catalog .hc-favorites{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:24px}
#home-catalog .hc-favorite{display:flex;align-items:center;gap:10px;min-width:0;padding:14px;background:var(--adm-surface);border:1px solid var(--adm-border);color:var(--adm-text);text-decoration:none}
#home-catalog .hc-empty{grid-column:1/-1;padding:12px 0}
#home-catalog .hc-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
#home-catalog .hc-bar h3{margin:0}
#home-catalog .hc-tabs{display:flex;flex-wrap:wrap;gap:4px}
#home-catalog button{font:inherit!important;min-height:34px;border-radius:2px;padding:6px 10px;border:1px solid transparent!important;background:transparent!important;color:var(--adm-text-soft)!important;box-shadow:none!important}
#home-catalog .hc-tabs button[aria-pressed=true]{background:var(--adm-surface)!important;border-color:var(--adm-border)!important;color:var(--adm-primary)!important}
#home-catalog .hc-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
#home-catalog .hc-tile{--hc-tone:var(--adm-primary);position:relative;display:grid;grid-template-columns:minmax(0,1fr) 30px;align-content:start;gap:6px;min-width:0;padding:14px;background:var(--adm-surface);border:1px solid var(--adm-border);border-radius:3px}
#home-catalog .hc-tile[data-family=Gestion]{--hc-tone:var(--adm-success)}
#home-catalog .hc-tile[data-family=Studio]{--hc-tone:var(--adm-primary)}
#home-catalog .hc-tile[data-family=Administration]{--hc-tone:var(--adm-text-soft)}
#home-catalog .hc-link{display:flex;align-items:center;gap:12px;flex:1;min-width:0;color:var(--adm-text);text-decoration:none}
#home-catalog .hc-link[href]::after{content:'';position:absolute;inset:0}
#home-catalog .hc-icon{display:grid;place-items:center;width:36px;height:36px;flex-shrink:0;border-radius:4px;background:color-mix(in srgb,var(--hc-tone,var(--adm-primary)) 12%,var(--adm-surface));color:var(--hc-tone,var(--adm-primary))}
#home-catalog .hc-icon i{font-size:19px}#home-catalog .hc-icon img{width:25px;height:25px;object-fit:contain}
#home-catalog .hc-copy{min-width:0;overflow-wrap:anywhere}
#home-catalog .hc-copy strong{display:block;font-size:13px;font-weight:600;color:var(--adm-text)}
#home-catalog .hc-description{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-top:4px;color:var(--adm-text-soft);font-size:12px}
#home-catalog .hc-pin{position:relative;z-index:1;align-self:flex-start;font-size:20px!important;padding:0 4px;min-width:30px}
#home-catalog .hc-pin[aria-pressed=true]{color:var(--adm-primary)!important}
body.home-catalog-ready .home-view-toolbar button{background:var(--adm-surface)!important;color:var(--adm-text)!important;border-color:var(--adm-border)!important;box-shadow:none!important}
body.home-catalog-ready .home-view-toolbar button[aria-pressed=true]{color:var(--adm-primary)!important;border-color:var(--adm-primary)!important}
body.home-catalog-ready #footer{background:var(--adm-bg)!important;color:var(--adm-text-soft)!important;border-top:1px solid var(--adm-border)}
#home-catalog .hc-tile:hover,#home-catalog .hc-favorite:hover{border-color:var(--adm-primary);background:var(--adm-surface-2)}
#home-catalog .hc-status{margin-top:14px;font-size:12px}
#home-catalog a:focus-visible,#home-catalog button:focus-visible,#home-catalog summary:focus-visible,#home-catalog input:focus-visible{outline:2px solid var(--adm-primary);outline-offset:3px}
@media(max-width:900px){#home-catalog .hc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#home-catalog .hc-favorites{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:550px){body.home-catalog-ready:not(.home-sidebar-view) #studio-home{padding:16px 8px!important}#home-catalog .hc-grid{grid-template-columns:minmax(0,1fr)}#home-catalog .hc-search,#home-catalog .hc-ownership{width:100%}#home-catalog .hc-original{margin-left:0}#home-catalog .hc-favorite{padding:10px;flex-wrap:wrap}.home-view-toolbar{flex-wrap:wrap}}
@media(pointer:coarse){#home-catalog button,#home-catalog summary{min-height:44px}#home-catalog input{font-size:16px}}
#home-catalog .hc-commercial{grid-column:1/-1;position:relative;z-index:1;min-width:0;display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:6px;padding-top:10px;border-top:1px solid var(--adm-border);font-size:12px}
#home-catalog .hc-commercial-state{font-weight:600}#home-catalog .hc-commercial a{margin-left:auto;color:var(--adm-primary)}
#home-catalog .hc-direct-access{grid-column:1/-1;position:relative;z-index:1;display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:12px}
#home-catalog .hc-copy-url{display:inline-flex;align-items:center;gap:5px;padding:3px 0;background:transparent;border:0;color:var(--adm-primary);font:inherit;cursor:pointer;min-height:30px}
#home-catalog .hc-copy-url:focus-visible{outline:2px solid var(--adm-primary);outline-offset:3px}
#home-catalog .hc-copy-feedback{color:var(--adm-muted)}
#home-catalog .hc-direct-url{width:100%;min-width:0;font:inherit;padding:6px;color:var(--adm-text);background:var(--adm-surface);border:1px solid var(--adm-border)}

/* Compact, themed module cards with a shared visual identity in favorites. */
#home-catalog :is(.hc-tile,.hc-favorite){
 --hc-tone:#3c8dbc;
 border-radius:6px;
 border-left:3px solid var(--hc-tone);
 background:linear-gradient(115deg,color-mix(in srgb,var(--hc-tone) 9%,transparent),transparent 75%),var(--adm-surface);
 box-shadow:0 2px 5px rgba(0,0,0,.035);
 transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease;
}
#home-catalog :is(.hc-tile,.hc-favorite)[data-family=Gestion]{--hc-tone:#00a65a}
#home-catalog :is(.hc-tile,.hc-favorite)[data-family=Pilotage]{--hc-tone:#378baf}
#home-catalog :is(.hc-tile,.hc-favorite)[data-family=Administration]{--hc-tone:#8174ba}
#home-catalog :is(.hc-tile,.hc-favorite)[data-family=Communications]{--hc-tone:#c18a24}
#home-catalog :is(.hc-tile,.hc-favorite):is(:hover,:focus-within){
 border-color:var(--hc-tone);
 background:linear-gradient(115deg,color-mix(in srgb,var(--hc-tone) 15%,transparent),transparent 85%),var(--adm-surface);
 box-shadow:0 4px 12px rgba(0,0,0,.09);
}
#home-catalog .hc-icon{
 width:42px;height:42px;border-radius:8px;
 background:color-mix(in srgb,var(--hc-tone) 15%,var(--adm-surface));
 border:1px solid color-mix(in srgb,var(--hc-tone) 24%,var(--adm-border));
}
#home-catalog .hc-icon i{font-size:21px}
#home-catalog .hc-copy strong{font-size:14px}
#home-catalog .hc-favorite::after{content:'›';margin-left:auto;color:var(--hc-tone);font-size:22px}
#home-catalog .hc-commercial{border-top-color:color-mix(in srgb,var(--hc-tone) 18%,var(--adm-border))}
#home-catalog .hc-pin[aria-pressed=true]{color:var(--hc-tone)!important}
@media(prefers-reduced-motion:reduce){#home-catalog :is(.hc-tile,.hc-favorite){transition:none}}


/* Exclusive post-login destination, using the shared dashboard surfaces. */
#home-catalog .hc-execution i,#home-catalog .hc-original summary i{margin-right:7px}
.hc-startup{flex-basis:100%;min-width:0;margin:0;padding:12px 0 0;border:0;border-top:1px solid var(--adm-border);color:var(--adm-text)}
.hc-startup legend{float:none;width:auto;font-size:13px;font-weight:600;margin:0 0 8px;padding:0}
.hc-startup-choices{display:flex;flex-wrap:wrap;gap:8px}
.hc-startup-option{display:flex;align-items:center;gap:8px;min-height:34px;padding:6px 10px;border:1px solid var(--adm-border);background:var(--adm-surface);cursor:pointer;font-size:13px}
.hc-startup-option:has(input:checked){border-color:var(--adm-primary,#3c8dbc);background:color-mix(in srgb,var(--adm-primary,#3c8dbc) 12%,var(--adm-surface))}
.hc-startup input[type=radio]{appearance:auto;width:16px;height:16px;margin:0;accent-color:var(--adm-primary,#3c8dbc)}
.hc-startup-option:has(input:disabled){opacity:.6;cursor:default}
.hc-startup small,.hc-startup-status{display:block;margin-top:7px;font-size:12px;color:var(--adm-text-soft)}
.hc-startup-status:empty{display:none}
.hc-startup-target{display:block;max-width:100%;margin-top:8px;padding:7px 10px;min-height:34px;background:var(--adm-surface);color:var(--adm-text);border:1px solid var(--adm-border)}
.hc-startup-target[hidden]{display:none}
@media(max-width:550px){.hc-startup-option{flex:1 1 100%}.hc-startup-target{width:100%}}

.hc-startup-sidebar{padding:12px 14px;margin-bottom:14px;border:1px solid var(--adm-border);background:var(--adm-surface)}

#home-catalog .hc-access-filter{display:flex;align-items:center;gap:8px;cursor:pointer;font-size:13px;color:var(--adm-text)}
#home-catalog .hc-access-filter input{width:16px;height:16px;margin:0;accent-color:var(--adm-primary,#3c8dbc)}

#home-catalog .hc-request-access{grid-column:1/-1;position:relative;z-index:1;min-width:0;padding:12px 16px;border-top:1px solid var(--adm-border);display:flex;flex-direction:column;gap:8px;font-size:13px}
#home-catalog .hc-request-access form,#home-catalog .hc-request-access label{display:flex;flex-direction:column;gap:8px}
#home-catalog .hc-request-access button{min-height:34px;padding:6px 10px;border:1px solid var(--adm-border);background:var(--adm-surface);color:var(--adm-text);cursor:pointer}
#home-catalog .hc-request-access textarea{width:100%;box-sizing:border-box;background:var(--adm-surface);color:var(--adm-text);border:1px solid var(--adm-border);padding:8px}

/* Shared module artwork remains transparent, without an inner frame. */
#home-catalog .hc-icon{width:64px;height:64px;background:transparent;border:0;box-shadow:none;border-radius:0}
#home-catalog .hc-icon img{width:64px;height:64px}
#home-catalog .hc-icon i{font-size:40px}
#home-catalog .hc-favorite .hc-icon,#home-catalog .hc-favorite .hc-icon img{width:32px;height:32px}

/* A module purpose stays readable in every launcher mode, including favorites. */
#home-catalog .hc-module-description{display:block;-webkit-line-clamp:unset;overflow:visible;line-height:1.45}

/* Favorites are compact shortcuts; full descriptions remain in the module list. */
#home-catalog .hc-favorites{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:8px;margin-bottom:16px}
#home-catalog .hc-favorite-item{display:flex;align-items:center;min-width:0;border:1px solid var(--adm-border);background:var(--adm-surface);border-radius:3px}
#home-catalog .hc-favorite-item:hover,#home-catalog .hc-favorite-item:focus-within{border-color:var(--adm-primary)}
#home-catalog .hc-favorite{flex:1;min-height:44px;padding:6px 8px;gap:8px;flex-wrap:nowrap;border:0;border-radius:0;box-shadow:none;box-sizing:border-box;background:transparent}
#home-catalog .hc-favorite::after{display:none}
#home-catalog .hc-favorite .hc-description,#home-catalog .hc-favorite .sysimple-badge-beta{display:none}
#home-catalog .hc-favorite .hc-icon,#home-catalog .hc-favorite .hc-icon img{width:24px;height:24px}
#home-catalog .hc-favorite .hc-icon i{font-size:22px}
#home-catalog .hc-favorite .hc-copy{min-width:0}
#home-catalog .hc-favorite strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px}
#home-catalog .hc-favorite-item>.hc-pin{flex:0 0 36px;align-self:stretch;min-height:44px;margin:0;padding:0;border:0;background:transparent;cursor:pointer}
#home-catalog .hc-favorite-item :focus-visible{outline:2px solid var(--adm-primary);outline-offset:-2px}
@media(max-width:550px){#home-catalog .hc-favorites{grid-template-columns:minmax(0,1fr)}}
/* Configuration warnings remain distinct from access locks and commercial status. */
.hc-configuration-diamond{color:var(--sysdash-warning,#f39c12);font-size:18px;margin-inline-start:8px;vertical-align:middle}
.hc-configuration-label{font-weight:600}
.hc-configuration-details{position:relative;z-index:1;grid-column:1 / -1;grid-row:2;font-size:12px;margin:0 0 8px;padding:8px;border-inline-start:3px solid var(--sysdash-warning,#f39c12)}
#home-catalog .hc-tile:has(.hc-configuration-details)>.hc-pin{grid-column:2;grid-row:1}
.hc-configuration-details summary{cursor:pointer}
.hc-configuration-details p{margin:8px 0 0;white-space:normal}
