.prime-app-layout {
	display: flex;
	min-height: 100vh;
}
.prime-sidebar {
	width: 240px;
	background: #1a1a2e;
	color: #fff;
	display: flex;
	flex-direction: column;
	flex-shrink: 0;
}
.prime-sidebar-header {
	padding: 20px 24px;
	font-size: 18px;
	font-weight: 700;
	border-bottom: 1px solid rgba(255,255,255,0.1);
}
.prime-sidebar-header a {
	color: #fff;
	text-decoration: none;
}
.prime-sidebar-nav {
	flex: 1;
	padding: 16px 0;
}
.prime-sidebar-nav a {
	display: block;
	padding: 10px 24px;
	color: rgba(255,255,255,0.7);
	text-decoration: none;
	font-size: 14px;
	transition: all 0.2s;
}
.prime-sidebar-nav a:hover {
	color: #fff;
	background: rgba(255,255,255,0.05);
}
.prime-sidebar-nav a.active {
	color: #fff;
	background: rgba(79, 70, 229, 0.2);
	border-left: 3px solid #4f46e5;
}
.prime-sidebar-footer {
	padding: 16px 24px;
	border-top: 1px solid rgba(255,255,255,0.1);
	font-size: 13px;
}
.prime-sidebar-footer span {
	display: block;
	color: rgba(255,255,255,0.8);
	margin-bottom: 8px;
}
.prime-sidebar-footer a {
	color: rgba(255,255,255,0.5);
	text-decoration: none;
}
.prime-content {
	flex: 1;
	padding: 32px;
	background: #f0f2f5;
}
.prime-content h1 {
	margin-top: 0;
}

/* Dropdown chevron for every portal select that has no .prime-select markup.
   The SVG arrow is positioned with an offset from the right edge; the
   .prime-select rules below still win for wrapped selects (equal specificity,
   later declaration) including their `background: #fff` reset of this image. */
.prime-app-layout select:not([multiple]),
.prime-modal-overlay select:not([multiple]),
.prime-modal select:not([multiple]) {
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M1.5 3.25 5 6.75 8.5 3.25' fill='none' stroke='%234b5870' stroke-width='1.8'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	padding-right: 34px;
}

/* Shared portal dropdown treatment, based on the project-select reference. */
.prime-field {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-weight: 700;
	color: #0f172a;
}
.prime-select {
	position: relative;
	display: inline-block;
	min-width: 220px;
}
.prime-select select {
	appearance: none;
	-webkit-appearance: none;
	width: 100%;
	min-height: 44px;
	padding: 0 42px 0 16px;
	font: inherit;
	font-weight: 400;
	color: #0f172a;
	background: #fff;
	border: 2px solid #c3cde0;
	border-radius: 12px;
	box-shadow: 0 8px 18px -12px rgba(15, 23, 42, 0.35);
	cursor: pointer;
	transition: border-color 0.15s, box-shadow 0.15s;
}
.prime-select select:hover {
	border-color: #7f93bd;
}
.prime-select select:focus-visible {
	outline: none;
	border-color: #7f93bd;
	box-shadow: 0 0 0 4px rgba(127, 147, 189, 0.25);
}
.prime-select__chevron {
	position: absolute;
	right: 16px;
	top: 50%;
	width: 9px;
	height: 9px;
	border-right: 2px solid #4b5870;
	border-bottom: 2px solid #4b5870;
	transform: translateY(-65%) rotate(45deg);
	pointer-events: none;
}
.prime-select__icon {
	position: absolute;
	left: 14px;
	top: 50%;
	width: 14px;
	height: 14px;
	transform: translateY(-50%);
	background: linear-gradient(90deg, #6b7a99 0 43%, transparent 43% 57%, #6b7a99 57%);
	border-radius: 3px;
	pointer-events: none;
}
.prime-select:has(.prime-select__icon) select {
	padding-left: 40px;
}
