/* Feature header_branding (docs/HEADER_BRANDING.md): the approved Deprojekt logo (4.4 : 1, white mark and colour wheels
   on its own black margin) where Frappe expects a square mark. Every rule matches only an <img> showing this logo, so
   nothing changes while the feature is off. The artwork carries its own black background: it reads the same on the
   light and the dark Desk theme, no colour is changed. */

/* Desk navbar: Frappe sizes .app-logo 24 px wide (a square icon) */
.navbar img.app-logo[src*="/deprojekt_ops/images/brand/deprojekt-logo.png"] {
	width: auto;
	height: 24px;
	max-width: 140px;
	border-radius: 4px;
	object-fit: contain;
}

/* website header (Standard Navbar brand image): Frappe caps it at 150 x 22 px */
.navbar-brand img[src*="/deprojekt_ops/images/brand/deprojekt-logo.png"] {
	width: auto;
	height: 24px;
	max-height: 24px;
	max-width: 140px;
	border-radius: 4px;
}

/* login page: Frappe caps the logo at 42 px high; keep it inside a 360 px phone */
.page-card-head img.app-logo[src*="/deprojekt_ops/images/brand/deprojekt-logo.png"] {
	width: auto;
	max-width: 100%;
	height: 42px;
	border-radius: 6px;
}
