:root {
	--lpm-ink: #102453;
	--lpm-muted: #5b6780;
	--lpm-line: #d7deea;
	--lpm-paper: #fff;
	--lpm-wash: #f3f6fb;
	--lpm-green: #082c78;
	--lpm-gold: #c99d34;
	--lpm-danger: #9b1c1c;
	--lpm-focus: #0b57d0;
	--lpm-sidebar: 268px;
	--lpm-font-head: "Poppins", sans-serif;
	--lpm-font-body: "Montserrat", sans-serif;
}

body.lpm-portal-page *,
body.lpm-portal-page *::before,
body.lpm-portal-page *::after {
	box-sizing: border-box;
}

body.lpm-portal-page #wpadminbar {
	display: none !important;
}

html.admin-bar:has(body.lpm-portal-page) {
	margin-top: 0 !important;
}

html,
body.lpm-portal-page {
	margin: 0;
}

body.lpm-portal-page {
	background: var(--lpm-wash);
	color: var(--lpm-ink);
	font-family: var(--lpm-font-body);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
}

body.lpm-page-portal_login {
	background:
		linear-gradient(180deg, rgba(8, 44, 120, 0.08) 0%, var(--lpm-wash) 46%),
		var(--lpm-wash);
}

body.lpm-portal-page .wp-site-blocks,
body.lpm-portal-page .wp-block-post-content,
body.lpm-portal-page .entry-content {
	margin: 0;
	padding: 0;
	max-width: none;
}

#lpm-main.lpm-shell {
	max-width: none;
	padding: 0;
	margin: 0;
}

h1, h2, h3,
.lpm-brand {
	font-family: var(--lpm-font-head);
	font-weight: 700;
}

.lpm-login {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 24px 16px;
	position: relative;
}

.lpm-login::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--lpm-green) 0%, var(--lpm-gold) 50%, var(--lpm-green) 100%);
}

.lpm-login-card {
	width: min(420px, 100%);
	background: var(--lpm-paper);
	border-radius: 16px;
	padding: 28px 28px 24px;
	box-shadow: 0 12px 40px rgba(16, 36, 83, 0.08);
	border-top: 3px solid var(--lpm-gold);
	position: relative;
	z-index: 1;
}

.lpm-login-org {
	margin: 0 0 16px;
	text-align: center;
	font-family: var(--lpm-font-head);
	font-size: 15px;
	font-weight: 700;
	color: var(--lpm-green);
}

.lpm-kicker {
	margin: 0 0 4px;
	font-size: 12px;
	font-weight: 600;
	color: var(--lpm-muted);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.lpm-login-card .lpm-kicker {
	text-align: center;
}

.lpm-login-card h1 {
	margin: 0 0 8px;
	font-size: 1.35rem;
	line-height: 1.3;
	text-align: center;
}

.lpm-login-card > p {
	margin: 0 0 18px;
	color: var(--lpm-muted);
	font-size: 14px;
}

.lpm-login-card .lpm-field {
	margin-bottom: 14px;
}

.lpm-login-card label,
#lpm-settings label {
	font-size: 13px;
	font-weight: 600;
}

.lpm-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
	margin-bottom: 0;
}

.lpm-card ul {
	margin: 0 0 12px;
	padding-left: 18px;
}

.lpm-card p {
	margin: 0 0 10px;
}

.lpm-login-card input[type="text"],
.lpm-login-card input[type="password"],
.lpm-login-card input[type="email"],
.lpm-staff input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]):not([type="range"]):not([type="color"]):not([hidden]),
.lpm-staff select,
.lpm-staff textarea {
	display: block;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	border: 1px solid var(--lpm-line);
	border-radius: 8px;
	padding: 10px 12px;
	font-family: var(--lpm-font-body);
	font-size: 14px;
	line-height: 1.4;
	background: #fff;
	color: var(--lpm-ink);
}

.lpm-staff select {
	-webkit-appearance: none;
	appearance: none;
	padding-right: 2.5rem;
	overflow: hidden;
	text-overflow: ellipsis;
	background-color: #fff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.25 4.5L6 8.25L9.75 4.5' stroke='%235b6780' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 12px;
}

.lpm-staff select::-ms-expand {
	display: none;
}

.lpm-staff textarea {
	min-height: 88px;
	resize: vertical;
}

.lpm-password-field {
	position: relative;
}

.lpm-staff .lpm-password-field input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.lpm-login-card .lpm-password-field input[type="password"],
.lpm-login-card .lpm-password-field input[type="text"] {
	padding-right: 44px;
}

.lpm-password-toggle {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 42px;
	padding: 0;
	border: 0;
	border-radius: 0 8px 8px 0;
	background: transparent;
	color: var(--lpm-muted);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.lpm-password-toggle:hover,
.lpm-password-toggle:focus-visible {
	color: var(--lpm-ink);
}

.lpm-password-toggle:focus-visible {
	outline: 2px solid var(--lpm-focus);
	outline-offset: -2px;
}

.lpm-password-toggle svg {
	display: block;
}

.lpm-staff input[type="file"][hidden],
.lpm-staff input[type="file"].lpm-file-input {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
	opacity: 0;
	pointer-events: none;
}

.lpm-staff input[type="color"] {
	width: 48px;
	height: 40px;
	padding: 4px;
	border: 1px solid var(--lpm-line);
	border-radius: 8px;
	background: #fff;
	cursor: pointer;
}

.lpm-file-field {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	min-width: 0;
	padding: 10px 12px;
	border: 1px dashed var(--lpm-line);
	border-radius: 10px;
	background: var(--lpm-wash);
}

.lpm-file-field .lpm-file-trigger {
	flex: 0 0 auto;
}

.lpm-file-name {
	min-width: 0;
	flex: 1 1 140px;
	font-size: 13px;
	color: var(--lpm-muted);
	overflow-wrap: anywhere;
}

.lpm-file-name.is-chosen {
	color: var(--lpm-ink);
	font-weight: 600;
}

.lpm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 8px;
	padding: 9px 16px;
	background: var(--lpm-green);
	color: #fff;
	font-family: var(--lpm-font-body);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	text-decoration: none;
	white-space: nowrap;
}

.lpm-btn:focus-visible,
.lpm-staff input:focus-visible,
.lpm-staff select:focus-visible,
.lpm-staff textarea:focus-visible {
	outline: 2px solid var(--lpm-focus);
	outline-offset: 2px;
}

.lpm-btn.secondary {
	background: #e8edf6;
	color: var(--lpm-ink);
}

.lpm-btn.danger {
	background: var(--lpm-danger);
}

.lpm-remember {
	display: flex;
	gap: 8px;
	align-items: center;
	margin: 4px 0 16px;
	font-size: 14px;
	font-weight: 500;
}

.lpm-remember input[type="checkbox"] {
	width: 16px;
	height: 16px;
	margin: 0;
	flex-shrink: 0;
}

.lpm-login-card .lpm-btn {
	width: 100%;
	margin-bottom: 12px;
}

.lpm-login-card a {
	color: var(--lpm-green);
	font-size: 13px;
}

.lpm-error {
	background: #fdecec;
	color: var(--lpm-danger);
	padding: 10px 12px;
	border-radius: 8px;
	margin-bottom: 12px;
	font-size: 13px;
}

.lpm-layout {
	display: grid;
	grid-template-columns: var(--lpm-sidebar) minmax(0, 1fr);
	min-height: 100vh;
}

.lpm-sidebar {
	background: var(--lpm-green);
	color: #fff;
	padding: 24px 16px;
	overflow-y: auto;
}

.lpm-sidebar a {
	display: block;
	color: #e7eefc;
	text-decoration: none;
	padding: 8px 12px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 500;
}

.lpm-sidebar a.is-active,
.lpm-sidebar a:hover {
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
}

.lpm-skip {
	position: absolute;
	left: -999px;
	top: 0;
	background: var(--lpm-green);
	color: #fff;
	padding: 8px 12px;
	z-index: 20;
}

.lpm-skip:focus {
	left: 16px;
	top: 16px;
}

.lpm-sidebar-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 8px;
	padding: 0 0 8px;
}

.lpm-brand {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	font-size: 14px;
	line-height: 1.35;
	padding: 4px 12px 16px;
	color: #fff;
	min-width: 0;
	flex: 1;
}

.lpm-nav-close,
.lpm-nav-mask {
	display: none;
}

.lpm-staff-logo,
.lpm-login-logo {
	height: var(--lpm-staff-logo-h, 40px);
	width: auto;
	max-width: 180px;
	object-fit: contain;
	border-radius: 8px;
	background: #fff;
	padding: 4px;
	box-sizing: border-box;
}

.lpm-staff-logo--prominent {
	height: 108px;
	max-width: 100%;
	background: transparent;
	padding: 0;
	border-radius: 0;
	display: block;
}

.lpm-login-brand {
	position: relative;
	z-index: 1;
	margin: 0 0 16px;
}

.lpm-login-logo {
	display: block;
	margin: 0 auto;
	height: 96px;
	width: auto;
	max-width: 220px;
	background: transparent;
	padding: 0;
	border-radius: 0;
	object-fit: contain;
}

.lpm-logo-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 16px;
	margin: 12px 0 8px;
}

.lpm-logo-card {
	border: 1px solid var(--lpm-line);
	border-radius: 10px;
	padding: 14px;
	background: var(--lpm-wash);
}

.lpm-logo-preview-wrap {
	min-height: 72px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	border: 1px dashed var(--lpm-line);
	border-radius: 8px;
	margin: 8px 0 12px;
	padding: 12px;
}

.lpm-hero-card {
	grid-column: 1 / -1;
}

.lpm-hero-preview-wrap {
	min-height: 140px;
	padding: 0;
	overflow: hidden;
}

.lpm-hero-preview {
	width: 100%;
	height: 160px;
	object-fit: cover;
	display: block;
}

.lpm-hero-card input[type="color"] {
	height: 42px;
	width: 72px;
	padding: 4px;
	cursor: pointer;
	background: #fff;
}

.lpm-logo-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 10px 0 0;
}

.lpm-maincol {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.lpm-top {
	display: flex;
	gap: 12px;
	align-items: center;
	padding: 12px 20px;
	background: #fff;
	border-bottom: 1px solid var(--lpm-line);
	position: sticky;
	top: 0;
	z-index: 5;
}

.lpm-global-search {
	flex: 1;
	min-width: 0;
}

.lpm-search-field {
	position: relative;
	display: flex;
	align-items: stretch;
	width: 100%;
	background: #fff;
	border: 1px solid var(--lpm-line);
	border-radius: 8px;
}

.lpm-search-field:focus-within {
	outline: 2px solid var(--lpm-focus);
	outline-offset: 2px;
}

.lpm-staff .lpm-search-field input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.lpm-staff .lpm-search-field input[type="search"] {
	flex: 1;
	min-width: 0;
	width: 100%;
	border: 0;
	border-radius: 8px;
	background: transparent;
	padding-right: 44px;
	-webkit-appearance: none;
	appearance: none;
	box-shadow: none;
}

.lpm-staff .lpm-search-field input[type="search"]::-webkit-search-decoration,
.lpm-staff .lpm-search-field input[type="search"]::-webkit-search-cancel-button,
.lpm-staff .lpm-search-field input[type="search"]::-webkit-search-results-button,
.lpm-staff .lpm-search-field input[type="search"]::-webkit-search-results-decoration {
	-webkit-appearance: none;
}

.lpm-staff .lpm-search-field input[type="search"]:focus,
.lpm-staff .lpm-search-field input[type="search"]:focus-visible {
	outline: none;
}

.lpm-search-go {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 42px;
	padding: 0;
	border: 0;
	border-radius: 0 7px 7px 0;
	background: var(--lpm-green);
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.lpm-search-go:hover,
.lpm-search-go:focus-visible {
	color: #fff;
	background: #061f57;
}

.lpm-search-go:focus-visible {
	outline: 2px solid var(--lpm-focus);
	outline-offset: -2px;
}

.lpm-filters .lpm-search-field input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]) {
	height: 100%;
	padding-top: 0;
	padding-bottom: 0;
}

.lpm-search-panel {
	position: absolute;
	left: 0;
	right: 0;
	top: calc(100% + 6px);
	background: #fff;
	border: 1px solid var(--lpm-line);
	border-radius: 10px;
	box-shadow: 0 12px 32px rgba(8, 44, 120, 0.12);
	z-index: 30;
	max-height: min(70vh, 420px);
	overflow: auto;
	padding: 6px 0;
}

.lpm-search-hits {
	list-style: none;
	margin: 0;
	padding: 0;
}

.lpm-search-hits a {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 10px 14px;
	text-decoration: none;
	color: inherit;
}

.lpm-search-hits a:hover,
.lpm-search-hits a:focus {
	background: #f4f7fb;
}

.lpm-search-hits strong {
	font-size: 13px;
}

.lpm-search-hits span {
	font-size: 12px;
	color: #5b6472;
}

.lpm-search-hits em {
	font-style: normal;
	font-size: 11px;
	color: #082c78;
	font-weight: 600;
}

.lpm-search-empty,
.lpm-search-all {
	display: block;
	padding: 10px 14px;
	font-size: 13px;
	margin: 0;
	color: inherit;
	text-decoration: none;
}

.lpm-search-all {
	border-top: 1px solid var(--lpm-line);
	font-weight: 600;
	color: #082c78;
}

.lpm-top > span {
	font-size: 13px;
	font-weight: 500;
	white-space: nowrap;
}

.lpm-content {
	padding: 28px 32px 24px;
	min-width: 0;
	flex: 1;
}

.lpm-content h1 {
	font-size: 1.4rem;
	margin: 0 0 14px;
	line-height: 1.3;
}

.lpm-content h2 {
	font-size: 1.05rem;
	margin: 18px 0 10px;
}

.lpm-content h3 {
	font-size: 0.95rem;
	margin: 0 0 8px;
}

.lpm-credit {
	font-size: 12px;
	color: var(--lpm-muted);
	text-align: center;
	margin: 100px 0 0;
	padding: 12px 24px 20px;
	line-height: 1.5;
}

.lpm-login .lpm-credit {
	padding: 0 12px 8px;
}

.lpm-credit a {
	color: var(--lpm-green);
	font-weight: 600;
	text-decoration: none;
}

.lpm-credit a:hover {
	text-decoration: underline;
}

.lpm-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 12px;
}

.lpm-stat {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	background: #fff;
	border: 1px solid var(--lpm-line);
	border-radius: 12px;
	padding: 16px 18px;
	min-width: 0;
	border-top: 4px solid var(--lpm-green);
}

.lpm-stat-svg {
	width: 28px;
	height: 28px;
	flex-shrink: 0;
	display: block;
}

.lpm-stat-registrations { border-top-color: #082c78; color: #082c78; }
.lpm-stat-pending { border-top-color: #b45309; color: #b45309; }
.lpm-stat-verify { border-top-color: #4f46e5; color: #4f46e5; }
.lpm-stat-approved { border-top-color: #1d7a5f; color: #1d7a5f; }
.lpm-stat-rejected { border-top-color: #9b1c1c; color: #9b1c1c; }
.lpm-stat-missing { border-top-color: #c45c26; color: #c45c26; }
.lpm-stat-value { border-top-color: #c99d34; color: #8a6a16; }
.lpm-stat-completed { border-top-color: #0f766e; color: #0f766e; }

.lpm-stat .lpm-card-label,
.lpm-stat .value {
	color: var(--lpm-ink);
}

.lpm-stat .value {
	font-family: var(--lpm-font-head);
	font-size: 1.15rem;
	font-weight: 700;
	margin-top: 4px;
	line-height: 1.25;
}

.lpm-muted {
	color: var(--lpm-muted);
	font-size: 13px;
	margin: 0;
}

.lpm-donut-wrap {
	display: flex;
	align-items: center;
	gap: 16px;
	min-width: 0;
}

.lpm-donut {
	width: 88px;
	height: 88px;
	border-radius: 50%;
	flex-shrink: 0;
	background: var(--lpm-line);
	mask: radial-gradient(circle, transparent 46%, #000 47%);
	-webkit-mask: radial-gradient(circle, transparent 46%, #000 47%);
}

.lpm-donut-legend {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 6px;
	font-size: 13px;
	min-width: 0;
}

.lpm-donut-legend li {
	display: flex;
	align-items: center;
	gap: 8px;
}

.lpm-swatch {
	width: 10px;
	height: 10px;
	border-radius: 2px;
	flex-shrink: 0;
}

.lpm-activity {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
}

.lpm-activity li {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.lpm-activity a {
	color: var(--lpm-green);
	font-weight: 600;
	text-decoration: none;
	overflow-wrap: anywhere;
}

.lpm-activity a:hover {
	text-decoration: underline;
}

.lpm-activity span {
	color: var(--lpm-muted);
	font-size: 12px;
	overflow-wrap: anywhere;
}

.lpm-card {
	background: #fff;
	border: 1px solid var(--lpm-line);
	border-radius: 12px;
	padding: 16px 18px;
	min-width: 0;
}

.lpm-card-label {
	font-size: 12px;
	font-weight: 500;
	color: var(--lpm-muted);
	line-height: 1.3;
	overflow-wrap: anywhere;
}

.lpm-card .value {
	font-family: var(--lpm-font-head);
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--lpm-green);
	margin-top: 6px;
	line-height: 1.25;
	overflow-wrap: anywhere;
}

.lpm-badge {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 999px;
	background: #e8edf6;
	font-size: 12px;
	font-weight: 500;
}

.lpm-badge.verified,
.lpm-badge.approved {
	background: #e4f6ea;
}

.lpm-badge.rejected {
	background: #fdecec;
}

.lpm-badge.replacement_required,
.lpm-badge.awaiting_documents {
	background: #fff4d6;
}

.lpm-table-wrap {
	overflow: auto;
	margin-top: 4px;
}

table.lpm-table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
}

table.lpm-table th,
table.lpm-table td {
	text-align: left;
	padding: 10px 12px;
	border-bottom: 1px solid var(--lpm-line);
	white-space: nowrap;
	font-size: 13px;
}

table.lpm-table th:last-child,
table.lpm-table td:last-child {
	position: sticky;
	right: 0;
	background: #fff;
	box-shadow: -6px 0 8px rgba(16, 36, 83, 0.05);
}

.lpm-audit-page > h1 {
	margin: 0 0 8px;
}

.lpm-audit-page > .lpm-muted {
	margin: 0 0 16px;
}

table.lpm-audit-table th:last-child,
table.lpm-audit-table td:last-child {
	position: static;
	box-shadow: none;
	background: transparent;
}

table.lpm-audit-table td.lpm-audit-activity,
table.lpm-audit-table td.lpm-audit-record {
	white-space: normal;
	min-width: 140px;
	overflow-wrap: anywhere;
}

.lpm-row-actions {
	white-space: nowrap;
}

.lpm-row-actions .lpm-btn {
	padding: 6px 10px;
	font-size: 12px;
}

.lpm-pager {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	margin: 14px 0 0;
	color: var(--lpm-muted);
	font-size: 13px;
}

.lpm-pager-nav {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex: 0 0 auto;
}

.lpm-pager-status {
	flex: 0 1 auto;
	min-width: 0;
}

.lpm-pager-jump {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
}

.lpm-pager-jump span {
	white-space: nowrap;
}

.lpm-staff form.lpm-pager .lpm-pager-jump input[type="number"]:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]):not([type="range"]):not([type="color"]):not([hidden]) {
	display: inline-block;
	width: 4.75rem;
	max-width: 4.75rem;
	min-width: 4.75rem;
	margin: 0;
	padding: 6px 8px;
	text-align: center;
	-moz-appearance: textfield;
	appearance: textfield;
}

.lpm-staff .lpm-pager-jump input[type="number"]::-webkit-outer-spin-button,
.lpm-staff .lpm-pager-jump input[type="number"]::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.lpm-badge.new,
.lpm-badge.pending_review {
	background: #e7edf9;
}

.lpm-badge.under_verification {
	background: #ece9ff;
}

.lpm-badge.completed {
	background: #e4f6ea;
}

.lpm-filters {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px;
}

.lpm-filters > input,
.lpm-filters > .lpm-search-field,
.lpm-filters > select,
.lpm-filters > .lpm-select,
.lpm-filter-combo {
	width: auto;
	min-width: 140px;
	flex: 1 1 140px;
	height: 42px;
	box-sizing: border-box;
}

.lpm-select {
	position: relative;
	display: block;
	min-width: 0;
}

.lpm-field .lpm-select {
	width: 100%;
	height: 42px;
}

.lpm-select select {
	width: 100%;
	height: 100%;
	padding-right: 2.75rem;
	background-image: none;
}

.lpm-select::after {
	content: "";
	position: absolute;
	top: 1px;
	right: 1px;
	bottom: 1px;
	width: 2.5rem;
	pointer-events: none;
	border-radius: 0 7px 7px 0;
	background-color: #fff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.25 4.5L6 8.25L9.75 4.5' stroke='%235b6780' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 12px;
}

.lpm-filter-combo {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 188px;
	padding: 0 12px;
	border: 1px solid var(--lpm-line);
	border-radius: 8px;
	background: #fff;
	color: var(--lpm-ink);
}

.lpm-filter-date {
	position: relative;
	padding-right: 36px;
}

.lpm-filter-date::after {
	content: "";
	position: absolute;
	right: 12px;
	top: 50%;
	width: 16px;
	height: 16px;
	transform: translateY(-50%);
	pointer-events: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Crect x='2.25' y='3.25' width='11.5' height='10.5' rx='1.5' stroke='%235b6780' stroke-width='1.4'/%3E%3Cpath d='M2.25 6.25H13.75' stroke='%235b6780' stroke-width='1.4'/%3E%3Cpath d='M5.5 2.25V4.25' stroke='%235b6780' stroke-width='1.4' stroke-linecap='round'/%3E%3Cpath d='M10.5 2.25V4.25' stroke='%235b6780' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 16px;
}

.lpm-filter-combo span {
	font-size: 14px;
	font-weight: 400;
	color: var(--lpm-muted);
	flex-shrink: 0;
	line-height: 1.4;
}

.lpm-filter-combo input[type="date"] {
	position: relative;
	flex: 1 1 auto;
	width: auto !important;
	min-width: 0;
	height: 40px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	font-family: var(--lpm-font-body);
	font-size: 14px;
	line-height: 1.4;
	color: var(--lpm-ink);
	cursor: pointer;
}

.lpm-filter-combo input[type="date"]:focus {
	outline: none;
}

.lpm-filter-combo:focus-within {
	outline: 2px solid var(--lpm-focus);
	outline-offset: 2px;
}

.lpm-filter-combo input[type="date"]::-webkit-calendar-picker-indicator {
	position: absolute;
	inset: 0;
	width: auto;
	height: auto;
	margin: 0;
	padding: 0;
	background: transparent;
	color: transparent;
	cursor: pointer;
	opacity: 0;
}

.lpm-filters .lpm-btn {
	flex: 0 0 auto;
	height: 42px;
}

.lpm-report-filters {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	align-items: stretch;
	gap: 10px;
	margin-bottom: 0;
}

.lpm-app-filters {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	align-items: stretch;
	gap: 10px;
	margin-bottom: 16px;
}

.lpm-app-filters > input,
.lpm-app-filters > .lpm-search-field,
.lpm-app-filters > .lpm-select,
.lpm-app-filters > .lpm-filter-combo,
.lpm-report-filters > input,
.lpm-report-filters > .lpm-search-field,
.lpm-report-filters > .lpm-select,
.lpm-report-filters > .lpm-filter-combo {
	width: 100%;
	min-width: 0;
	flex: none;
}

.lpm-filter-actions {
	grid-column: 1 / -1;
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 8px;
	margin: 2px 0 16px;
}

.lpm-card .lpm-filter-actions {
	margin: 2px 0 16px;
}

.lpm-filter-actions .lpm-btn {
	flex: 0 0 auto;
	width: auto;
}

.lpm-app-filters .lpm-filter-actions {
	grid-column: auto;
	margin: 0;
	align-self: stretch;
}

@media (max-width: 1100px) {
	.lpm-report-filters {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.lpm-chart {
	display: grid;
	gap: 8px;
}

.lpm-bar {
	display: grid;
	grid-template-columns: minmax(0, 110px) minmax(0, 1fr) minmax(2.75rem, auto);
	gap: 8px;
	align-items: center;
	font-size: 12px;
}

.lpm-bar-money {
	grid-template-columns: minmax(0, 100px) minmax(0, 1fr) minmax(6.5rem, auto);
}

.lpm-bar span:first-child {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.lpm-bar span:last-child {
	text-align: right;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.lpm-bar i {
	display: block;
	height: 8px;
	background: var(--lpm-gold);
	border-radius: 999px;
}

.lpm-grid-2 {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 14px 20px;
}

.lpm-grid-2 p {
	margin: 0;
	font-size: 14px;
}

.lpm-stage {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 16px;
}

.lpm-stage span {
	padding: 5px 10px;
	border-radius: 999px;
	background: #e8edf6;
	font-size: 12px;
	font-weight: 500;
}

.lpm-stage span.current {
	background: var(--lpm-gold);
	color: #102453;
}

.lpm-stage span.complete {
	background: #e4f6ea;
}

.lpm-inline-form {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: flex-end;
	margin-top: 12px;
}

.lpm-inline-form select,
.lpm-inline-form input {
	flex: 1 1 160px;
	width: auto !important;
	min-width: 140px;
}

.lpm-inline-form .lpm-btn {
	flex: 0 0 auto;
}

.lpm-user-create {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	align-items: end;
}

.lpm-user-create h2,
.lpm-user-create .lpm-filter-actions {
	grid-column: 1 / -1;
}

.lpm-perm-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin: 12px 0;
}

.lpm-perm-card {
	border: 1px solid var(--lpm-line);
	border-radius: 10px;
	padding: 14px;
	background: #fff;
}

.lpm-perm-card h3 {
	margin: 0 0 10px;
	font-size: 1rem;
}

.lpm-card.lpm-settings-page {
	padding: 20px 22px 24px;
}

.lpm-settings-page > h1 {
	margin: 0 0 16px;
}

.lpm-settings-toc {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 10px;
	margin: 0 0 24px;
}

.lpm-settings-toc button {
	display: inline-flex;
	align-items: center;
	padding: 6px 12px;
	border: 1px solid var(--lpm-line);
	border-radius: 999px;
	background: #fff;
	color: var(--lpm-ink);
	font-size: 13px;
	cursor: pointer;
	font-family: inherit;
}

.lpm-settings-toc button:hover,
.lpm-settings-toc button:focus-visible {
	border-color: var(--lpm-navy, #082c78);
}

.lpm-settings-page #lpm-settings.lpm-stack {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.lpm-settings-page #lpm-settings h2 {
	margin: 10px 0 0;
	padding-top: 8px;
	scroll-margin-top: 16px;
}

.lpm-settings-page #lpm-settings h2:first-child {
	margin-top: 0;
	padding-top: 0;
}

.lpm-settings-page #lpm-settings h3 {
	margin: 6px 0 0;
}

.lpm-settings-page #lpm-settings > .lpm-muted,
.lpm-settings-page #lpm-settings > p {
	margin: 0;
}

.lpm-settings-block {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 12px 16px;
	align-items: start;
	border: 1px solid var(--lpm-line);
	border-radius: 10px;
	padding: 16px;
	margin: 0;
	background: var(--lpm-wash);
}

.lpm-settings-block h3,
.lpm-settings-block .lpm-field:has(textarea),
.lpm-settings-block .lpm-settings-flags,
.lpm-settings-block .lpm-check-row,
.lpm-settings-block[data-template] .lpm-field {
	grid-column: 1 / -1;
}

.lpm-settings-block h3 {
	margin: 0;
	font-size: 1rem;
}

.lpm-settings-flags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 20px;
}

.lpm-settings-page #lpm-settings .lpm-perm-grid,
.lpm-settings-page #lpm-settings .lpm-logo-grid,
.lpm-settings-page #lpm-settings .lpm-check-list,
.lpm-settings-page #lpm-settings .lpm-filter-actions {
	margin: 0;
}

.lpm-settings-page #lpm-settings .lpm-filter-actions {
	padding-top: 4px;
}

.lpm-settings-page .lpm-perm-card > p:last-child {
	margin-bottom: 0;
}

.lpm-settings-page > h2 {
	margin: 28px 0 10px;
	scroll-margin-top: 16px;
}

.lpm-settings-page > p {
	margin: 0 0 10px;
}

.lpm-settings-page > .lpm-filter-actions {
	margin: 4px 0 8px;
}

.lpm-table .lpm-row-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.lpm-table .lpm-row-actions .lpm-select {
	min-width: 180px;
	flex: 1 1 180px;
}

.lpm-flash {
	background: #e7edf9;
	border: 1px solid #c5d0e8;
	color: var(--lpm-ink);
	padding: 10px 12px;
	border-radius: 8px;
	margin: 0 0 16px;
	font-size: 13px;
	overflow-wrap: anywhere;
}

.lpm-check-list {
	display: grid;
	gap: 8px;
}

.lpm-check-row {
	display: flex;
	gap: 8px;
	align-items: flex-start;
	font-size: 14px;
	font-weight: 500;
}

.lpm-check-row input[type="checkbox"] {
	width: 16px;
	height: 16px;
	margin: 3px 0 0;
	flex-shrink: 0;
}

.lpm-back {
	margin: 0 0 10px;
	font-size: 13px;
}

.lpm-back a {
	color: var(--lpm-green);
	text-decoration: none;
	font-weight: 600;
}

.lpm-detail-head h1 {
	margin: 8px 0 0;
}

.lpm-tabs {
	display: flex;
	flex-wrap: nowrap;
	gap: 4px;
	overflow-x: auto;
	margin: 0 0 16px;
	border-bottom: 1px solid var(--lpm-line);
}

.lpm-tab {
	appearance: none;
	border: 0;
	border-bottom: 2px solid transparent;
	background: transparent;
	padding: 10px 14px;
	margin-bottom: -1px;
	color: var(--lpm-muted);
	font-family: var(--lpm-font-body);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	white-space: nowrap;
	cursor: pointer;
}

.lpm-tab.is-active {
	color: var(--lpm-ink);
	border-bottom-color: var(--lpm-gold);
	font-weight: 600;
}

.lpm-tab-panel {
	display: grid;
	gap: 12px;
}

.lpm-tab-panel[hidden] {
	display: none !important;
}

.lpm-kv-list {
	display: grid;
	gap: 12px;
	margin: 0;
}

.lpm-kv-grid {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.lpm-kv dt {
	font-size: 12px;
	font-weight: 600;
	color: var(--lpm-muted);
}

.lpm-kv dd {
	margin: 4px 0 0;
	font-size: 14px;
	overflow-wrap: anywhere;
}

.lpm-doc-preview {
	display: block;
	margin: 12px 0;
	border: 1px solid var(--lpm-line);
	border-radius: 8px;
	overflow: hidden;
	background: var(--lpm-wash);
	text-decoration: none;
	color: var(--lpm-green);
	font-weight: 600;
}

.lpm-doc-preview img {
	display: block;
	width: 100%;
	max-height: 220px;
	object-fit: contain;
	background: #fff;
}

.lpm-doc-preview.is-file {
	padding: 18px;
	text-align: center;
}

.lpm-timeline {
	list-style: none;
	margin: 20px 0 0;
	padding: 0;
	border-left: 2px solid var(--lpm-line);
}

.lpm-timeline-item {
	position: relative;
	padding: 0 0 20px 18px;
}

.lpm-timeline-item:last-child {
	padding-bottom: 0;
}

.lpm-timeline-item::before {
	content: "";
	position: absolute;
	left: -7px;
	top: 8px;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #c5d0e8;
}

.lpm-timeline-item.is-complete::before {
	background: #2f8f4e;
}

.lpm-timeline-item.is-current::before {
	background: var(--lpm-gold);
}

.lpm-timeline-item h3 {
	margin: 0 0 8px;
	font-size: 16px;
}

.lpm-note {
	border-bottom: 1px solid var(--lpm-line);
	padding: 0 0 12px;
	margin: 0 0 12px;
}

.lpm-note:last-of-type {
	border-bottom: 0;
}

.lpm-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 12px;
}

.lpm-notify-chips {
	margin: 0 0 20px;
}

.lpm-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 10px;
	border-radius: 999px;
	background: var(--lpm-wash);
	color: var(--lpm-ink);
	text-decoration: none;
	font-size: 13px;
	font-weight: 600;
}

.lpm-chip span {
	color: var(--lpm-muted);
	font-weight: 500;
}

.lpm-chip.is-active {
	background: var(--lpm-green);
	color: #fff;
}

.lpm-chip.is-active span {
	color: rgba(255, 255, 255, 0.8);
}

.lpm-verify-page {
	display: grid;
	gap: 12px;
}

.lpm-verify {
	display: grid;
	grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
	gap: 12px;
	align-items: start;
}

.lpm-verify-back {
	display: none;
}

.lpm-verify-queue {
	display: grid;
	gap: 8px;
}

.lpm-queue-item {
	background: #fff;
	border: 1px solid var(--lpm-line);
	border-radius: 8px;
	padding: 12px;
}

.lpm-queue-item.is-active {
	border-color: var(--lpm-gold);
	box-shadow: 0 0 0 2px rgba(201, 157, 52, 0.25);
}

.lpm-queue-item h3 {
	margin: 6px 0 4px;
	font-size: 15px;
}

.lpm-zoom-wrap {
	overflow: auto;
	border: 1px solid var(--lpm-line);
	border-radius: 8px;
	background: var(--lpm-wash);
	min-height: 280px;
	max-height: 70vh;
}

.lpm-zoom-inner {
	transform-origin: top left;
	padding: 12px;
}

.lpm-zoom-target {
	display: block;
	max-width: 100%;
	transform-origin: top left;
	transition: transform 0.12s ease;
}

.lpm-zoom-frame {
	width: 100%;
	min-height: 480px;
	border: 0;
	background: #fff;
}

.lpm-rte {
	border: 1px solid var(--lpm-line);
	border-radius: 8px;
	background: #fff;
	overflow: hidden;
}

.lpm-rte-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	padding: 8px;
	background: var(--lpm-wash);
	border-bottom: 1px solid var(--lpm-line);
}

.lpm-rte-bar button {
	width: auto;
	min-width: 36px;
	padding: 6px 10px;
	font-size: 13px;
	line-height: 1.2;
}

.lpm-rte-area {
	min-height: 88px;
	padding: 12px;
	font-size: 14px;
	line-height: 1.5;
	outline: none;
}

.lpm-rte-area:focus {
	box-shadow: inset 0 0 0 2px rgba(11, 87, 208, 0.18);
}

.lpm-menu {
	display: none;
}

.lpm-bell {
	position: relative;
	padding-right: 28px;
}

.lpm-bell-count {
	position: absolute;
	top: 4px;
	right: 6px;
	min-width: 16px;
	height: 16px;
	padding: 0 4px;
	border-radius: 999px;
	background: var(--lpm-gold);
	color: #102453;
	font-size: 10px;
	font-weight: 700;
	line-height: 16px;
	text-align: center;
}

.lpm-dot {
	display: none;
}

.lpm-note-item.is-unread {
	background: #fff8ea;
	box-shadow: inset 4px 0 0 var(--lpm-gold);
	border-color: #e6d19a;
}

.lpm-note-item.is-unread h3 a {
	font-weight: 700;
}

.lpm-note-item.is-read {
	background: #f7f9fc;
	opacity: 0.92;
}

.lpm-note-item.is-read h3 a {
	font-weight: 500;
	color: var(--lpm-muted);
}

.lpm-note-item h3 {
	margin: 6px 0 8px;
}

.lpm-badge.unread {
	background: #f3e2b3;
	color: #5c4308;
}

.lpm-badge.read {
	background: #e8edf6;
	color: var(--lpm-muted);
}

.lpm-activity .is-unread a {
	font-weight: 700;
}

@media (max-width: 960px) {
	.lpm-layout {
		grid-template-columns: 1fr;
	}

	.lpm-sidebar {
		display: none;
	}

	.lpm-sidebar.is-open {
		display: block;
		position: fixed;
		inset: 0 auto 0 0;
		width: min(280px, 90vw);
		z-index: 100000;
	}

	.lpm-nav-mask.is-open {
		display: block;
		position: fixed;
		inset: 0;
		background: rgba(16, 36, 83, 0.45);
		z-index: 99999;
	}

	.lpm-nav-close {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		flex-shrink: 0;
		margin: 4px 4px 0 0;
		border: 0;
		border-radius: 8px;
		padding: 8px 12px;
		background: rgba(255, 255, 255, 0.14);
		color: #fff;
		font-family: var(--lpm-font-body);
		font-size: 13px;
		font-weight: 600;
		line-height: 1.2;
		cursor: pointer;
	}

	.lpm-nav-close:focus-visible {
		outline: 2px solid #fff;
		outline-offset: 2px;
	}

	body.lpm-nav-open {
		overflow: hidden;
	}

	.lpm-menu {
		display: inline-flex;
	}

	.lpm-grid-2 {
		grid-template-columns: 1fr;
	}

	.lpm-logo-grid {
		grid-template-columns: 1fr;
	}

	.lpm-content {
		padding: 16px;
	}

	.lpm-filters > input,
	.lpm-filters > .lpm-search-field,
	.lpm-filters > select,
	.lpm-filters > .lpm-select,
	.lpm-filter-combo {
		flex: 1 1 100%;
		min-width: 100%;
	}

	.lpm-user-create,
	.lpm-perm-grid,
	.lpm-settings-block {
		grid-template-columns: 1fr;
	}

	.lpm-report-filters,
	.lpm-app-filters {
		grid-template-columns: 1fr;
	}

	.lpm-app-filters .lpm-filter-actions {
		grid-column: 1 / -1;
		margin: 2px 0 16px;
	}

	.lpm-report-filters > input,
	.lpm-report-filters > .lpm-search-field,
	.lpm-report-filters > .lpm-select,
	.lpm-report-filters > .lpm-filter-combo,
	.lpm-app-filters > input,
	.lpm-app-filters > .lpm-search-field,
	.lpm-app-filters > .lpm-select,
	.lpm-app-filters > .lpm-filter-combo {
		min-width: 0;
		width: 100%;
	}

	.lpm-filters > select,
	.lpm-select select {
		padding-right: 2.75rem;
		background-position: right 14px center;
	}

	.lpm-kv-grid {
		grid-template-columns: 1fr;
	}

	.lpm-verify {
		grid-template-columns: 1fr;
	}

	.lpm-verify-back {
		display: block;
		margin: 0 0 12px;
	}

	.lpm-verify-page.has-open .lpm-verify-head,
	.lpm-verify-page.has-open .lpm-verify-queue {
		display: none;
	}

	.lpm-verify-page:not(.has-open) .lpm-verify-pane {
		display: none;
	}
}
