/* Common wordmark: application and public booking share the same colours. */
.brand-color{color:#fff}
.brand-stock{color:var(--brand-accent,#e4b08f)}
.sidebar-nav:not(.is-horizontal):has(>.brand){grid-template-rows:var(--colorstock-topbar-height,61px)!important}
.sidebar-nav>.brand:has(>.brand-identity){height:var(--colorstock-topbar-height,61px)!important;min-height:var(--colorstock-topbar-height,61px);max-height:var(--colorstock-topbar-height,61px);padding-inline:clamp(6px,1vw,12px)!important}
.sidebar-nav>.brand .brand-identity{display:flex;flex:0 1 auto;align-items:center;align-self:stretch;gap:inherit;width:max-content;max-width:100%;min-width:0;margin-inline:auto;direction:ltr;user-select:none;-webkit-user-select:none}
.sidebar-nav>.brand .brand-identity>.brand-mark.brand-dropper{flex:0 1 auto;width:auto;height:100%;aspect-ratio:1;max-width:50%;min-width:0;max-height:100%}
.sidebar-nav>.brand .brand-identity .brand-copy{flex:0 1 auto;align-self:stretch;min-width:0;grid-auto-rows:max-content;justify-items:center;text-align:center}
.sidebar-nav>.brand .brand-identity .brand-copy-home-link{grid-auto-rows:max-content;justify-items:center;text-align:center}
.sidebar-nav>.brand .brand-identity :is(h1,small,.brand-version-button){text-align:center;white-space:nowrap;min-width:0;max-width:100%}
.sidebar-nav>.brand .brand-identity .brand-copy small::before{margin-block:0}
.sidebar-nav>.brand .brand-identity .brand-version-button{justify-self:center}
html[dir="rtl"] .sidebar-nav>.brand .brand-identity .brand-copy{direction:rtl}

.sidebar-nav.is-horizontal>.brand:has(>.brand-identity){max-width:calc(100vw - 20px)}

/* Contrôle persistant du délai de masquage placé dans la cellule de marque. */
.sidebar-nav>.brand{position:relative}
.sidebar-nav>.brand .brand-auto-hide-pin{position:absolute;inset-block-start:4px;inset-inline-start:4px;z-index:4;display:grid;place-items:center;box-sizing:border-box;width:30px;height:36px;min-width:30px;min-height:30px;margin:0;padding:2px;border:0;border-radius:5px;background:transparent!important;box-shadow:none!important}
.sidebar-nav>.brand .brand-auto-hide-pin[hidden]{display:none!important}
.sidebar-nav>.brand .brand-auto-hide-pin>img{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none}
.sidebar-nav>.brand .brand-auto-hide-pin:focus-visible{outline:2px solid currentColor;outline-offset:1px}
