:root {
	--nlpp-blue: #2c67b6;
	--nlpp-blue-dark: #174b8c;
	--nlpp-navy: #12263f;
	--nlpp-green: #198a6a;
	--nlpp-amber: #a95f00;
	--nlpp-red: #b42318;
	--nlpp-ink: #172033;
	--nlpp-muted: #667085;
	--nlpp-line: #d8dee7;
	--nlpp-soft: #f5f7fa;
	--nlpp-white: #ffffff;
	--nlpp-radius: 12px;
	--nlpp-shadow: 0 12px 30px rgba(18, 38, 63, 0.08);
}

.nlpp-app,
.nlpp-login {
	color: var(--nlpp-ink);
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 15px;
	line-height: 1.55;
}

.nlpp-app {
	width: 100%;
	margin: 0;
}

.nlpp-login {
	width: min(1180px, calc(100% - 32px));
	margin: 40px auto;
}

.nlpp-app *,
.nlpp-login * {
	box-sizing: border-box;
}

.nlpp-app a,
.nlpp-login a {
	color: var(--nlpp-blue);
	text-decoration: none;
}

.nlpp-app a:hover,
.nlpp-login a:hover {
	color: var(--nlpp-blue-dark);
	text-decoration: underline;
}

.nlpp-app h1,
.nlpp-app h2,
.nlpp-app h3,
.nlpp-app h4,
.nlpp-login h1,
.nlpp-login h2 {
	margin-top: 0;
	color: var(--nlpp-navy);
	font-family: "DM Sans", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-weight: 600;
	letter-spacing: -0.025em;
	line-height: 1.15;
}

.nlpp-app h1 {
	margin-bottom: 4px;
	font-size: clamp(26px, 4vw, 36px);
}

.nlpp-app h2 {
	margin-bottom: 8px;
	font-size: clamp(28px, 4vw, 42px);
}

.nlpp-app h3 {
	margin-bottom: 20px;
	font-size: 20px;
}

.nlpp-app h4 {
	margin-bottom: 6px;
	font-size: 15px;
}

.nlpp-eyebrow {
	margin: 0 0 8px;
	color: var(--nlpp-blue);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.nlpp-app__header {
	padding: 28px clamp(20px, 5vw, 48px);
	border-bottom: 1px solid var(--nlpp-line);
	background: linear-gradient(135deg, #fff 0%, #f3f7fc 100%);
}

.nlpp-app__header-inner {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	max-width: 1200px;
	margin: 0 auto;
}

.nlpp-app__logos {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 10px;
}

.nlpp-app__logo {
	display: block;
	max-height: 40px;
	margin-bottom: 0;
}

.nlpp-app__logo--org {
	padding-left: 16px;
	border-left: 1px solid var(--nlpp-line);
}

.nlpp-app__organisation {
	margin: 0;
	color: var(--nlpp-muted);
}

.nlpp-app__account {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 16px;
	color: var(--nlpp-muted);
	font-size: 14px;
}

.nlpp-nav {
	padding: 0 clamp(20px, 5vw, 48px);
	overflow-x: auto;
	border-bottom: 1px solid var(--nlpp-line);
	background: var(--nlpp-white);
}

.nlpp-nav__inner {
	display: flex;
	gap: 4px;
	max-width: 1200px;
	margin: 0 auto;
}

.nlpp-nav a {
	position: relative;
	display: inline-flex;
	align-items: center;
	min-height: 54px;
	padding: 0 16px;
	color: var(--nlpp-muted);
	font-weight: 600;
	white-space: nowrap;
}

.nlpp-nav a::after {
	position: absolute;
	right: 16px;
	bottom: -1px;
	left: 16px;
	height: 2px;
	background: transparent;
	content: "";
}

.nlpp-nav a:hover,
.nlpp-nav a.is-active {
	color: var(--nlpp-blue);
	text-decoration: none;
}

.nlpp-nav a.is-active::after {
	background: var(--nlpp-blue);
}

.nlpp-app__content {
	padding: clamp(24px, 5vw, 48px);
	background: var(--nlpp-soft);
}

.nlpp-app__content-inner {
	max-width: 1200px;
	margin: 0 auto;
}

.nlpp-app__footer {
	padding: 20px clamp(20px, 5vw, 48px);
	border-top: 1px solid var(--nlpp-line);
	background: var(--nlpp-white);
}

.nlpp-app__footer-inner {
	display: flex;
	gap: 20px;
	max-width: 1200px;
	margin: 0 auto;
	font-size: 13px;
}

.nlpp-app__footer-inner a {
	color: var(--nlpp-muted);
}

.nlpp-page-heading {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 28px;
}

.nlpp-page-heading p:not(.nlpp-eyebrow) {
	max-width: 680px;
	margin: 0;
	color: var(--nlpp-muted);
}

.nlpp-page-heading--detail {
	align-items: flex-end;
}

.nlpp-back {
	display: inline-block;
	margin-bottom: 20px;
	font-size: 14px;
}

.nlpp-button,
.nlpp-app button:not(.nlpp-help):not(.nlpp-link-button),
.nlpp-login input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 10px 18px;
	border: 1px solid #e4e4e4;
	border-radius: 22px;
	background: var(--nlpp-white);
	color: #b9b9b9 !important;
	font: inherit;
	font-weight: 650;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.nlpp-button:hover,
.nlpp-app button:not(.nlpp-help):not(.nlpp-link-button):hover,
.nlpp-login input[type="submit"]:hover {
	border-color: var(--nlpp-blue);
	color: var(--nlpp-blue) !important;
	text-decoration: none !important;
	transform: translateY(-1px);
}

.nlpp-button--primary,
.nlpp-app button:not(.nlpp-help):not(.nlpp-link-button).nlpp-button--primary,
.nlpp-login input[type="submit"] {
	border-color: var(--nlpp-blue);
	background: var(--nlpp-blue);
	color: var(--nlpp-white) !important;
}

.nlpp-button--primary:hover,
.nlpp-app button:not(.nlpp-help):not(.nlpp-link-button).nlpp-button--primary:hover,
.nlpp-login input[type="submit"]:hover {
	border-color: var(--nlpp-blue-dark);
	background: var(--nlpp-blue-dark);
	color: var(--nlpp-white) !important;
	text-decoration: none !important;
}

.nlpp-button--danger,
.nlpp-app button:not(.nlpp-help):not(.nlpp-link-button).nlpp-button--danger {
	border-color: var(--nlpp-red);
	background: var(--nlpp-white);
	color: var(--nlpp-red) !important;
}

.nlpp-button--danger:hover,
.nlpp-app button:not(.nlpp-help):not(.nlpp-link-button).nlpp-button--danger:hover {
	border-color: #8f1b13;
	background: #fdf2f1;
	color: #8f1b13 !important;
	text-decoration: none !important;
}

.nlpp-button[disabled],
.nlpp-app button:not(.nlpp-help):not(.nlpp-link-button)[disabled] {
	opacity: 0.6;
	cursor: wait;
	transform: none;
}

.nlpp-metrics {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
	margin-bottom: 24px;
}

.nlpp-metric {
	min-height: 128px;
	padding: 22px;
	border: 1px solid var(--nlpp-line);
	border-radius: var(--nlpp-radius);
	background: var(--nlpp-white);
	box-shadow: 0 3px 10px rgba(18, 38, 63, 0.03);
}

.nlpp-metric span {
	display: block;
	margin-bottom: 14px;
	color: var(--nlpp-muted);
	font-size: 13px;
	font-weight: 600;
}

.nlpp-metric strong {
	display: block;
	color: var(--nlpp-navy);
	font-family: "DM Sans", Inter, sans-serif;
	font-size: clamp(26px, 4vw, 36px);
	font-weight: 600;
	line-height: 1;
}

.nlpp-metric small {
	display: block;
	margin-top: 10px;
	color: var(--nlpp-muted);
	font-size: 13px;
}

.nlpp-metric--attention {
	border-color: #f2cb91;
	background: #fffaf0;
}

.nlpp-panel {
	margin-bottom: 20px;
	padding: clamp(20px, 4vw, 30px);
	border: 1px solid var(--nlpp-line);
	border-radius: var(--nlpp-radius);
	background: var(--nlpp-white);
	box-shadow: 0 3px 10px rgba(18, 38, 63, 0.03);
}

.nlpp-panel:last-child {
	margin-bottom: 0;
}

.nlpp-panel__heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 20px;
}

.nlpp-panel__heading h3 {
	margin: 0;
}

.nlpp-table-wrap {
	width: 100%;
	overflow-x: auto;
}

.nlpp-table {
	width: 100%;
	border: 0;
	border-collapse: collapse;
	background: transparent;
	font-size: 14px;
}

.nlpp-table th,
.nlpp-table td {
	padding: 15px 12px;
	border: 0;
	border-bottom: 1px solid #e7ebf0;
	text-align: left;
	vertical-align: middle;
}

.nlpp-table th:first-child,
.nlpp-table td:first-child {
	padding-left: 8px;
}

.nlpp-table th:last-child,
.nlpp-table td:last-child {
	padding-right: 8px;
	text-align: right;
}

.nlpp-table th {
	color: var(--nlpp-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.nlpp-table tbody tr:last-child td {
	border-bottom: 0;
}

.nlpp-table td strong,
.nlpp-table td span {
	display: block;
}

.nlpp-table td > span:not(.nlpp-status):not(.nlpp-sync) {
	margin-top: 2px;
	color: var(--nlpp-muted);
	font-size: 13px;
}

.nlpp-status,
.nlpp-sync {
	display: inline-flex;
	align-items: center;
	width: max-content;
	min-height: 26px;
	padding: 4px 9px;
	border-radius: 99px;
	background: #eef2f6;
	color: #465467;
	font-size: 11px;
	font-weight: 700;
	line-height: 2.2;
	white-space: nowrap;
}

.nlpp-status--approved,
.nlpp-status--closed_won,
.nlpp-sync--synced,
.nlpp-sync--delivered {
	background: #e8f6f1;
	color: #087554;
}

.nlpp-status--submitted,
.nlpp-status--under_review,
.nlpp-status--renewal_requested,
.nlpp-sync--queued,
.nlpp-sync--pending,
.nlpp-sync--processing,
.nlpp-sync--sent {
	background: #eaf2fc;
	color: #245f9f;
}

.nlpp-status--more_information_required,
.nlpp-status--expiring_soon,
.nlpp-sync--retry {
	background: #fff3dc;
	color: #8a5300;
}

.nlpp-status--rejected,
.nlpp-status--expired,
.nlpp-status--released,
.nlpp-status--closed_lost,
.nlpp-status--cancelled,
.nlpp-sync--error,
.nlpp-sync--failed,
.nlpp-sync--bounced,
.nlpp-sync--dropped {
	background: #feeceb;
	color: #9f241d;
}

/* Discount treatment: a coloured dot and text rather than a pill, so it
   reads as secondary to the deal's status badge beside it. */
.nlpp-discount {
	display: inline-flex;
	align-items: baseline;
	gap: 7px;
	font-weight: 600;
}

.nlpp-discount::before {
	content: "";
	flex: none;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: currentColor;
	transform: translateY(-1px);
}

.nlpp-discount--enhanced {
	color: #087554;
}

.nlpp-discount--standard {
	color: #245f9f;
}

.nlpp-discount--removed {
	color: #9f241d;
}

.nlpp-discount--pending {
	color: var(--nlpp-muted);
}

.nlpp-status--cancellation_requested {
	background: #f4ecfb;
	color: #6b3fa0;
}

.nlpp-detail-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.nlpp-status-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 14px;
}

.nlpp-notice {
	margin: 18px 0;
	padding: 14px 18px;
	border: 1px solid #b8cee8;
	border-radius: 8px;
	background: #eef5fd;
	color: #204c7c;
}

.nlpp-app > .nlpp-notice {
	width: min(1200px, calc(100% - 40px));
	margin: 18px auto;
}

.nlpp-notice--success {
	border-color: #9bd5c2;
	background: #effaf6;
	color: #11684f;
}

.nlpp-notice--error {
	border-color: #f2aaa6;
	background: #fff2f1;
	color: #8f221c;
}

.nlpp-notice--warning {
	border-color: #f2cb91;
	background: #fff8ec;
	color: #805000;
}

.nlpp-notice ul {
	margin: 8px 0 0 20px;
}

.nlpp-filters {
	display: flex;
	align-items: flex-end;
	gap: 12px;
	margin-bottom: 18px;
	padding: 16px;
	border: 1px solid var(--nlpp-line);
	border-radius: var(--nlpp-radius);
	background: var(--nlpp-white);
}

.nlpp-filters label {
	display: grid;
	flex: 1;
	gap: 6px;
}

.nlpp-filters label span,
.nlpp-form label > span {
	color: #39475a;
	font-size: 13px;
	font-weight: 650;
}

.nlpp-label-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 6px;
}

.nlpp-help {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	padding: 0;
	border: 1px solid var(--nlpp-line);
	border-radius: 50%;
	background: var(--nlpp-soft);
	color: var(--nlpp-muted);
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	cursor: help;
	position: relative;
	transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}

.nlpp-help:hover,
.nlpp-help:focus,
.nlpp-help:active {
	border-color: var(--nlpp-blue);
	background: var(--nlpp-blue);
	color: var(--nlpp-white) !important;
	outline: none;
}

.nlpp-help::after {
	content: attr(data-tooltip);
	position: absolute;
	bottom: calc(100% + 8px);
	left: 50%;
	z-index: 20;
	width: 220px;
	padding: 8px 10px;
	border-radius: 8px;
	background: #1c2733;
	color: #fff;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.4;
	text-align: left;
	white-space: normal;
	letter-spacing: normal;
	text-transform: none;
	opacity: 0;
	visibility: hidden;
	transform: translateX(-50%);
	transition: opacity 0.15s ease;
	pointer-events: none;
}

.nlpp-help:hover::after,
.nlpp-help:focus::after,
.nlpp-help:focus-visible::after {
	opacity: 1;
	visibility: visible;
}

.nlpp-form {
	display: grid;
	gap: 20px;
}

.nlpp-form__section {
	margin: 0;
	padding: clamp(20px, 4vw, 30px);
	border: 1px solid var(--nlpp-line);
	border-radius: var(--nlpp-radius);
	background: var(--nlpp-white);
}

.nlpp-form__section legend {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 0 8px;
	color: var(--nlpp-navy);
	font-family: "DM Sans", Inter, sans-serif;
	font-size: 19px;
	font-weight: 600;
}

.nlpp-form__section legend span {
	display: inline-grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: 7px;
	background: #eaf2fc;
	color: var(--nlpp-blue);
	font-size: 11px;
	letter-spacing: 0;
}

.nlpp-form__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	margin-top: 10px;
}

/* Read-only calculated value (e.g. total contract value) shown in the
   form grid alongside the inputs it's derived from. */
.nlpp-form__computed {
	display: grid;
	align-content: start;
	gap: 6px;
	padding: 12px 14px;
	border: 1px dashed #bdc7d4;
	border-radius: 8px;
	background: #f8fafc;
}

.nlpp-form__computed span {
	font-size: 14px;
	font-weight: 600;
}

.nlpp-form__computed output {
	color: var(--nlpp-navy);
	font-size: 20px;
	font-weight: 700;
}

.nlpp-form__computed small {
	color: var(--nlpp-muted);
	font-size: 12px;
}

.nlpp-form label {
	display: grid;
	align-content: start;
	gap: 7px;
	margin: 0;
}

/* Needs the label > span specificity: the generic grey label-text rule
   (.nlpp-form label > span) otherwise wins and the error isn't red. */
.nlpp-field-error,
.nlpp-form label > .nlpp-field-error {
	display: flex;
	align-items: flex-start;
	gap: 6px;
	color: var(--nlpp-red);
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1.4;
}

.nlpp-field-error::before {
	content: "!";
	display: inline-grid;
	flex: none;
	place-items: center;
	width: 16px;
	height: 16px;
	margin-top: 1px;
	border-radius: 50%;
	background: var(--nlpp-red);
	color: var(--nlpp-white);
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
}

.nlpp-form label:has(.nlpp-field-error) input,
.nlpp-form label:has(.nlpp-field-error) select,
.nlpp-form label:has(.nlpp-field-error) textarea,
.nlpp-form [aria-invalid="true"] {
	border-color: var(--nlpp-red);
	background-color: #fffafa;
	box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.1);
}

.nlpp-form [aria-invalid="true"]:focus {
	border-color: var(--nlpp-red);
	outline: 3px solid rgba(180, 35, 24, 0.22);
	outline-offset: 0;
}

.nlpp-form__section--invalid legend span {
	background: var(--nlpp-red);
	color: var(--nlpp-white);
}

.nlpp-error-summary a {
	color: inherit;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.nlpp-error-summary__more {
	list-style: none;
	margin-left: -20px;
	font-style: italic;
}

.nlpp-error-summary a:hover {
	text-decoration-thickness: 2px;
}

.nlpp-error-summary:focus {
	outline: 3px solid rgba(180, 35, 24, 0.3);
	outline-offset: 2px;
}

.nlpp-field--full {
	grid-column: 1 / -1;
}

.nlpp-form input,
.nlpp-form select,
.nlpp-form textarea,
.nlpp-filters input,
.nlpp-filters select,
.nlpp-login input[type="text"],
.nlpp-login input[type="password"] {
	width: 100%;
	min-height: 44px;
	margin: 0;
	padding: 10px 12px;
	border: 1px solid #bdc7d4;
	border-radius: 7px;
	background: var(--nlpp-white);
	color: var(--nlpp-ink);
	font: inherit;
	box-shadow: none;
}

.nlpp-form textarea {
	min-height: 100px;
	resize: vertical;
}

.nlpp-form input:focus,
.nlpp-form select:focus,
.nlpp-form textarea:focus,
.nlpp-filters input:focus,
.nlpp-filters select:focus,
.nlpp-login input:focus {
	border-color: var(--nlpp-blue);
	outline: 3px solid rgba(44, 103, 182, 0.14);
	outline-offset: 0;
}

.nlpp-form__actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 16px 18px;
	border: 1px solid var(--nlpp-line);
	border-radius: var(--nlpp-radius);
	background: var(--nlpp-white);
}

.nlpp-form__actions > div {
	display: flex;
	gap: 10px;
}

.nlpp-form + .description {
	margin-top: 16px;
}

.nlpp-role-summary {
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 6px;
	font-size: 13px;
	color: var(--nlpp-muted);
}

.nlpp-role-summary strong {
	color: var(--nlpp-ink);
}

.nlpp-detail-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	margin-bottom: 20px;
}

.nlpp-detail-grid > .nlpp-panel {
	/* .nlpp-panel's own margin-bottom (and the :last-child override that
	   zeroes it) is meant for panels stacked vertically down a page. In a
	   side-by-side grid the "last" panel is just whichever one is on the
	   right, so that override made the right-hand card's margin box
	   shorter than the left-hand one's — the grid's own `gap` already
	   provides spacing here, so remove the redundant, asymmetric margin
	   entirely rather than needing to match it. */
	margin-bottom: 0;
}

.nlpp-definition-list {
	display: grid;
	/* Without this, a list sharing a .nlpp-detail-grid row with a taller
	   one gets stretched to match, and the grid spreads that extra height
	   across its own rows — so side-by-side rows drift out of line. */
	align-content: start;
	gap: 0;
	margin: 0;
}

.nlpp-definition-list > div {
	display: grid;
	/* A capped label column, rather than a fraction of the panel, so values
	   line up at the same offset in half-width and full-width panels alike. */
	grid-template-columns: minmax(130px, 220px) minmax(0, 1fr);
	align-items: baseline;
	gap: 18px;
	padding: 12px 0;
	border-bottom: 1px solid #e7ebf0;
}

.nlpp-definition-list > div:first-child {
	padding-top: 0;
}

.nlpp-definition-list > div:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.nlpp-definition-list dt {
	color: var(--nlpp-muted);
	font-size: 13px;
	font-weight: 600;
}

.nlpp-definition-list dd {
	min-width: 0;
	margin: 0;
	overflow-wrap: anywhere;
}

.nlpp-prose-field + .nlpp-prose-field {
	margin-top: 22px;
	padding-top: 22px;
	border-top: 1px solid #e7ebf0;
}

.nlpp-prose-field p {
	margin: 0;
	white-space: normal;
}

.nlpp-timeline {
	position: relative;
	display: grid;
	gap: 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nlpp-timeline::before {
	position: absolute;
	top: 9px;
	bottom: 9px;
	left: 6px;
	width: 1px;
	background: var(--nlpp-line);
	content: "";
}

.nlpp-timeline li {
	position: relative;
	display: grid;
	grid-template-columns: 14px minmax(0, 1fr);
	gap: 14px;
}

.nlpp-timeline__dot {
	z-index: 1;
	width: 13px;
	height: 13px;
	margin-top: 4px;
	border: 3px solid var(--nlpp-white);
	border-radius: 50%;
	background: var(--nlpp-blue);
	box-shadow: 0 0 0 1px var(--nlpp-blue);
}

.nlpp-timeline p {
	margin: 4px 0;
	color: #465467;
}

.nlpp-timeline time {
	color: var(--nlpp-muted);
	font-size: 12px;
}

.nlpp-document-list,
.nlpp-comment-list {
	list-style: none;
	margin: 0 0 20px;
	padding: 0;
	display: grid;
	gap: 12px;
}

.nlpp-document-list li {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 8px;
	padding: 10px 14px;
	border: 1px solid var(--nlpp-line);
	border-radius: 8px;
	background: var(--nlpp-white);
}

.nlpp-document-list__meta {
	color: var(--nlpp-muted);
	font-size: 13px;
}

/* "Request removal" / "Removal requested", pushed to the row's right edge. */
.nlpp-document-list__actions {
	margin-left: auto;
	color: var(--nlpp-muted);
	font-size: 13px;
}

.nlpp-document-list__actions:empty {
	display: none;
}

.nlpp-document-list li form {
	display: inline;
	margin: 0;
}

.nlpp-document-list[hidden] {
	display: none;
}

.nlpp-document-list li {
	transition: background-color 0.6s ease, border-color 0.6s ease;
}

.nlpp-document-list li.is-new {
	border-color: #9fc0e8;
	background: #f2f7fd;
	transition: none;
}

.nlpp-comment-list li {
	padding: 12px 14px;
	border: 1px solid var(--nlpp-line);
	border-radius: 8px;
	background: var(--nlpp-white);
}

.nlpp-comment-list li p {
	margin: 4px 0 0;
}

.nlpp-comment-list__meta {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-start;
	gap: 8px 12px;
	color: var(--nlpp-muted);
	font-size: 13px;
}

.nlpp-comment-list[hidden] {
	display: none;
}

.nlpp-comment-list li {
	transition: background-color 0.6s ease, border-color 0.6s ease;
}

.nlpp-comment-list li.is-new {
	border-color: #9fc0e8;
	background: #f2f7fd;
	transition: none;
}

.nlpp-comment-list__meta-right {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: flex-end;
	gap: 4px 0;
}

/* "date · Request deletion" / "date · Deletion requested" on one line. */
.nlpp-comment-list__meta-right > * + *::before {
	content: "·";
	margin: 0 8px;
	color: var(--nlpp-muted);
	font-weight: 400;
}

.nlpp-comment-list li form {
	display: inline;
	margin: 0;
}

.nlpp-comment-list__flag {
	color: #9a5b00;
	font-weight: 600;
}

.nlpp-app .nlpp-link-button {
	min-height: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	color: var(--nlpp-muted);
	font: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
	cursor: pointer;
}

.nlpp-app .nlpp-link-button:hover,
.nlpp-app .nlpp-link-button:focus-visible {
	background: none;
	color: #b42318;
}

.nlpp-app .nlpp-link-button:disabled {
	opacity: 0.6;
	cursor: default;
}

.nlpp-toast {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 1000;
	max-width: min(360px, calc(100vw - 32px));
	padding: 12px 16px;
	border-radius: 8px;
	background: #12263f;
	box-shadow: 0 8px 24px rgba(18, 38, 63, 0.2);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	opacity: 0;
	transform: translateY(8px);
	pointer-events: none;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.nlpp-toast.is-visible {
	opacity: 1;
	transform: none;
}

.nlpp-toast--error {
	background: #b42318;
}

@media (max-width: 700px) {
	.nlpp-toast {
		right: 16px;
		bottom: 16px;
	}
}

.nlpp-button--small {
	min-height: 28px;
	padding: 4px 12px;
	border-radius: 14px;
	font-size: 12.5px;
	font-weight: 600;
}

.nlpp-document-upload {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.nlpp-resource-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 12px;
}

.nlpp-resource-list li {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 18px;
	border: 1px solid var(--nlpp-line);
	border-radius: 8px;
	background: var(--nlpp-white);
}

.nlpp-resource-list li p {
	margin: 4px 0 0;
	color: var(--nlpp-muted);
	font-size: 14px;
}

.nlpp-resource-list__meta {
	display: block;
	margin-top: 4px;
	color: var(--nlpp-muted);
	font-size: 13px;
}

.nlpp-resource-list__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.nlpp-comment-form {
	display: grid;
	gap: 10px;
}


.nlpp-comment-form textarea {
	width: 100%;
	min-height: 80px;
	padding: 10px 12px;
	border: 1px solid #bdc7d4;
	border-radius: 8px;
	font: inherit;
	resize: vertical;
}

.nlpp-comment-form textarea:focus {
	outline: none;
	border-color: var(--nlpp-blue);
	box-shadow: 0 0 0 1px var(--nlpp-blue);
}

.nlpp-comment-form .nlpp-button {
	justify-self: start;
}

.nlpp-empty,
.nlpp-state {
	padding: 38px 24px;
	text-align: center;
}

.nlpp-empty p,
.nlpp-state p {
	margin: 0 0 18px;
	color: var(--nlpp-muted);
}

.nlpp-login {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	min-height: 520px;
	overflow: hidden;
	border: 1px solid var(--nlpp-line);
	border-radius: 16px;
	background: var(--nlpp-white);
	box-shadow: var(--nlpp-shadow);
}

.nlpp-login__intro {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 40px;
	padding: clamp(30px, 7vw, 72px);
	background:
		linear-gradient(rgba(18, 38, 63, 0.86), rgba(18, 38, 63, 0.94)),
		linear-gradient(135deg, #2c67b6, #12263f);
	color: #d8e6f7;
}

.nlpp-login__logo {
	display: block;
	max-height: 32px;
	width: auto;
	margin-right: auto;
	padding: 0;
	border-radius: 8px;
	background: none;
}

.nlpp-login__intro .nlpp-eyebrow {
	color: #91b9ec;
}

.nlpp-login__intro-copy h1 {
	margin-bottom: 14px;
	color: var(--nlpp-white);
	font-size: clamp(38px, 7vw, 64px);
}

.nlpp-login__intro-copy p {
	max-width: 430px;
	margin: 0;
	font-size: 17px;
}

.nlpp-login__form {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(30px, 6vw, 64px);
}

.nlpp-login__form h2 {
	margin-bottom: 10px;
	font-size: 30px;
}

.nlpp-login__form > p {
	margin: 0 0 26px;
	color: var(--nlpp-muted);
}

.nlpp-login__submit {
	width: 100%;
	justify-content: center;
	margin-bottom: 18px;
	padding-top: 13px;
	padding-bottom: 13px;
	font-size: 15px;
}

.nlpp-login__form form p {
	margin: 0 0 18px;
}

.nlpp-login__form label {
	display: grid;
	gap: 7px;
	color: #39475a;
	font-size: 13px;
	font-weight: 650;
}

.nlpp-login__form .login-remember label {
	display: flex;
	align-items: center;
	gap: 8px;
}

.nlpp-login__form .login-remember input {
	width: auto;
	min-height: 0;
}

.nlpp-login__reset {
	display: block;
	margin-top: 2px;
	text-align: center;
	font-size: 13px;
}

@media (max-width: 900px) {
	.nlpp-metrics {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.nlpp-detail-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 700px) {
	.nlpp-login {
		width: min(100% - 20px, 1180px);
		margin: 10px auto;
	}

	.nlpp-app__header-inner,
	.nlpp-page-heading,
	.nlpp-form__actions {
		align-items: stretch;
		flex-direction: column;
	}

	.nlpp-app__account {
		justify-content: space-between;
	}

	.nlpp-nav {
		padding: 0 10px;
	}

	.nlpp-app__content {
		padding: 20px 14px;
	}

	.nlpp-metrics,
	.nlpp-form__grid {
		grid-template-columns: 1fr;
	}

	.nlpp-field--full {
		grid-column: auto;
	}

	.nlpp-filters {
		align-items: stretch;
		flex-direction: column;
	}

	.nlpp-form__actions {
		position: static;
	}

	.nlpp-form__actions > div {
		display: grid;
	}

	.nlpp-definition-list > div {
		grid-template-columns: 1fr;
		gap: 3px;
	}

	.nlpp-login {
		grid-template-columns: 1fr;
	}

	.nlpp-login__intro {
		min-height: 260px;
	}
}

@media (max-width: 480px) {
	.nlpp-metrics {
		grid-template-columns: 1fr;
	}

	.nlpp-page-heading .nlpp-button,
	.nlpp-form__actions .nlpp-button {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.nlpp-app *,
	.nlpp-login * {
		scroll-behavior: auto !important;
		transition: none !important;
	}
}

.nlpp-modal {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.nlpp-modal[hidden] {
	display: none;
}

.nlpp-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(18, 38, 63, 0.5);
}

.nlpp-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(420px, 100%);
	padding: 24px;
	border-radius: var(--nlpp-radius);
	background: var(--nlpp-white);
	box-shadow: var(--nlpp-shadow);
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.nlpp-modal__title {
	margin: 0 0 8px;
	color: var(--nlpp-navy);
	font-family: "DM Sans", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 18px;
	font-weight: 600;
}

.nlpp-modal__title[hidden] {
	display: none;
}

.nlpp-modal__message {
	margin: 0 0 20px;
	color: var(--nlpp-ink);
	font-size: 15px;
	line-height: 1.5;
}

.nlpp-modal__actions {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
}
