/* The e-Deklarant logo (common\helpers\Brand; the cabinet: frontend/cabinet/src/styles.css) */
.logo { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; min-width: 0; }
.logo:hover { color: inherit; text-decoration: none; }
.logo-mark { flex: none; border-radius: 25%; }
.logo-text { display: inline-grid; justify-items: start; min-width: 0; }
/* the slogan: thin letters, never wider than the name (the grid column is the name's width; brand.js /
   fitSlogan() makes the letters smaller when a language's slogan is longer) */
.logo-name { font-weight: 800; font-size: calc(var(--logo-size, 40px) * .62); line-height: 1.05; letter-spacing: -.01em; white-space: nowrap; }
.logo-e { color: #0f766e; }
.logo-dash { color: #f59e0b; }
.logo-slogan { display: block; width: 0; min-width: 100%; margin-top: 3px; font-size: .68rem; font-weight: 300; line-height: 1.2;
    letter-spacing: .01em; opacity: .8; white-space: nowrap; overflow: hidden; }
:root[data-theme="dark"] .logo-e { color: #2dd4bf; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo-e { color: #2dd4bf; } }
/* the admin panel's sidebar: the logo in place of the brand text, the slogan hidden when the sidebar is collapsed */
.brand-logo.brand-link { display: flex; padding: 12px 14px; }
.sidebar-collapse .main-sidebar:not(:hover) .brand-logo .logo-text { display: none; }
.sidebar-dark-primary .logo-e { color: #2dd4bf; }
