/* ClaimPrism main dashboard — Governance-aligned ZEODEC dark visual system. */
.claimprism-wrap:not(.cg-governance-wrap) {
	--cpd-bg:#070809;
	--cpd-surface:#0B0E10;
	--cpd-panel:#111417;
	--cpd-panel-2:#171A1E;
	--cpd-line:#343A40;
	--cpd-line-strong:#50575E;
	--cpd-text:#F4F5F6;
	--cpd-muted:#AEB4BA;
	--cpd-soft:#8F969D;
	--cpd-green:#00A86B;
	--cpd-blue:#2F80C9;
	--cpd-red:#D7263D;
	--cpd-high:#FF6B00;
	--cpd-high-border:#C84B00;
	--cpd-amber:#FFC400;
	padding:1px 14px 32px;
	border:1px solid #202429;
	border-radius:14px;
	background:#070809;
	color:var(--cpd-text);
}

.claimprism-wrap:not(.cg-governance-wrap) > h2,
.claimprism-wrap:not(.cg-governance-wrap) h2,
.claimprism-wrap:not(.cg-governance-wrap) h3 { color:#FFFFFF; }
.claimprism-wrap:not(.cg-governance-wrap) p,
.claimprism-wrap:not(.cg-governance-wrap) .description { color:var(--cpd-muted); }

.claimprism-wrap:not(.cg-governance-wrap) .claimprism-header {
	border:3px solid transparent;
	border-radius:12px;
	background:
		linear-gradient(#0A0A0A,#0A0A0A) padding-box,
		linear-gradient(115deg,#272B30 0%,#D9DDE1 24%,#5E646B 48%,#F1F3F5 72%,#34393F 100%) border-box;
	box-shadow:none;
}
.claimprism-wrap:not(.cg-governance-wrap) .claimprism-header::before { display:none; }
.claimprism-wrap:not(.cg-governance-wrap) .claimprism-header::after { opacity:.72; }

.claimprism-wrap:not(.cg-governance-wrap) .claimprism-actions .button,
.claimprism-wrap:not(.cg-governance-wrap) .claimprism-actions .button-secondary,
.claimprism-wrap:not(.cg-governance-wrap) .claimprism-actions .button-primary {
	border-radius:4px;
	box-shadow:none !important;
	transform:none !important;
}
.claimprism-wrap:not(.cg-governance-wrap) .claimprism-actions .button-primary {
	background:var(--cpd-green);
	border-color:var(--cpd-green);
	color:#FFFFFF;
}
.claimprism-wrap:not(.cg-governance-wrap) .claimprism-actions .button-primary:hover,
.claimprism-wrap:not(.cg-governance-wrap) .claimprism-actions .button-primary:focus {
	background:#008D5A;
	border-color:#008D5A;
	color:#FFFFFF;
}

.claimprism-wrap:not(.cg-governance-wrap) .claimprism-disclaimer {
	border:1px solid #4B5259;
	border-left:4px solid var(--cpd-red);
	border-radius:7px;
	background:#121518;
	color:#BFC5CA;
}
.claimprism-wrap:not(.cg-governance-wrap) .claimprism-disclaimer strong { color:#FFFFFF; }

.claimprism-wrap:not(.cg-governance-wrap) .claimprism-onboarding {
	display:grid;
	grid-template-columns:minmax(0,1.2fr) minmax(340px,.8fr);
	gap:18px;
	margin:18px 0;
	padding:22px;
	border:1px solid var(--cpd-line-strong);
	border-radius:10px;
	background:var(--cpd-surface);
	box-shadow:none;
}
.claimprism-wrap:not(.cg-governance-wrap) .claimprism-onboarding-copy {
	padding:4px 6px 4px 2px;
}
.claimprism-wrap:not(.cg-governance-wrap) .claimprism-onboarding-kicker {
	display:inline-block;
	margin-bottom:8px;
	color:#8FD6BA;
	font-size:11px;
	font-weight:700;
	letter-spacing:.12em;
	text-transform:uppercase;
}
.claimprism-wrap:not(.cg-governance-wrap) .claimprism-onboarding h2 {
	margin:0 0 9px;
	font-size:22px;
	line-height:1.25;
}
.claimprism-wrap:not(.cg-governance-wrap) .claimprism-onboarding-copy > p {
	max-width:760px;
	margin:0 0 15px;
	font-size:14px;
	line-height:1.6;
}
.claimprism-wrap:not(.cg-governance-wrap) .claimprism-onboarding-scan {
	display:inline-block;
	margin:0 0 12px;
}
.claimprism-wrap:not(.cg-governance-wrap) .claimprism-onboarding-scan .button-primary {
	border-color:var(--cpd-green) !important;
	background:var(--cpd-green) !important;
	color:#FFFFFF !important;
	box-shadow:none !important;
}
.claimprism-wrap:not(.cg-governance-wrap) .claimprism-onboarding-note {
	margin:0 !important;
	color:var(--cpd-soft) !important;
	font-size:12px !important;
}
.claimprism-wrap:not(.cg-governance-wrap) .claimprism-onboarding-steps {
	display:grid;
	gap:9px;
}
.claimprism-wrap:not(.cg-governance-wrap) .claimprism-onboarding-step,
.claimprism-wrap:not(.cg-governance-wrap) .claimprism-onboarding-pro {
	position:relative;
	padding:12px 14px 12px 48px;
	border:1px solid var(--cpd-line);
	border-radius:7px;
	background:var(--cpd-panel);
}
.claimprism-wrap:not(.cg-governance-wrap) .claimprism-onboarding-step > strong {
	position:absolute;
	top:12px;
	left:13px;
	display:flex;
	align-items:center;
	justify-content:center;
	width:24px;
	height:24px;
	border:1px solid #596169;
	border-radius:50%;
	background:var(--cpd-panel-2);
	color:#FFFFFF;
	font-size:12px;
}
.claimprism-wrap:not(.cg-governance-wrap) .claimprism-onboarding-step > span {
	display:block;
	margin-bottom:3px;
	color:#FFFFFF;
	font-weight:700;
}
.claimprism-wrap:not(.cg-governance-wrap) .claimprism-onboarding-step p {
	margin:0;
	font-size:12px;
	line-height:1.45;
}
.claimprism-wrap:not(.cg-governance-wrap) .claimprism-onboarding-pro {
	display:flex;
	align-items:center;
	gap:10px;
	padding-left:14px;
}
.claimprism-wrap:not(.cg-governance-wrap) .claimprism-onboarding-pro .button {
	flex:0 0 auto;
}
.claimprism-wrap:not(.cg-governance-wrap) .claimprism-onboarding-pro small {
	color:var(--cpd-soft);
	line-height:1.4;
}

.claimprism-wrap:not(.cg-governance-wrap) .cg-priority-panel {
	border:1px solid var(--cpd-line-strong);
	border-radius:9px;
	background:var(--cpd-surface);
	box-shadow:none;
}
.claimprism-wrap:not(.cg-governance-wrap) .cg-priority-score {
	border-right:1px solid var(--cpd-line);
	background:var(--cpd-panel-2);
}
.claimprism-wrap:not(.cg-governance-wrap) .cg-priority-copy {
	width:100%;
	max-width:none;
	background:var(--cpd-panel);
}
.claimprism-wrap:not(.cg-governance-wrap) .cg-priority-copy h2 { color:#FFFFFF; }
.claimprism-wrap:not(.cg-governance-wrap) .cg-priority-copy > p,
.claimprism-wrap:not(.cg-governance-wrap) .cg-priority-copy .description {
	max-width:none;
	color:var(--cpd-muted);
	border-color:var(--cpd-line);
}
.claimprism-wrap:not(.cg-governance-wrap) .cg-next-actions li { color:var(--cpd-text); }
.claimprism-wrap:not(.cg-governance-wrap) .cg-next-actions li::before { color:var(--cpd-soft); }

.claimprism-wrap:not(.cg-governance-wrap) .claimprism-card,
.claimprism-wrap:not(.cg-governance-wrap) .cg-scan-progress,
.claimprism-wrap:not(.cg-governance-wrap) .claimprism-empty,
.claimprism-wrap:not(.cg-governance-wrap) .cg-evidence-alerts {
	border-color:var(--cpd-line);
	border-radius:7px;
	background:var(--cpd-panel);
	box-shadow:none;
}
.claimprism-wrap:not(.cg-governance-wrap) .claimprism-card::after { border-color:#444A50; }
.claimprism-wrap:not(.cg-governance-wrap) .claimprism-card span,
.claimprism-wrap:not(.cg-governance-wrap) .claimprism-meta,
.claimprism-wrap:not(.cg-governance-wrap) .claimprism-empty p { color:var(--cpd-muted); }
.claimprism-wrap:not(.cg-governance-wrap) .claimprism-card strong,
.claimprism-wrap:not(.cg-governance-wrap) .claimprism-empty h3,
.claimprism-wrap:not(.cg-governance-wrap) .cg-scan-progress-head { color:#FFFFFF; }
.claimprism-wrap:not(.cg-governance-wrap) .cg-scan-progress-head span,
.claimprism-wrap:not(.cg-governance-wrap) .cg-scan-progress p { color:var(--cpd-muted); }
.claimprism-wrap:not(.cg-governance-wrap) .cg-progress-track { background:#30363B; }
.claimprism-wrap:not(.cg-governance-wrap) .cg-progress-track span { background:var(--cpd-green); }
.claimprism-wrap:not(.cg-governance-wrap) .claimprism-meta {
	border-color:var(--cpd-line);
	background:var(--cpd-surface);
}
.claimprism-wrap:not(.cg-governance-wrap) .claimprism-meta::before { background:var(--cpd-green); }

.claimprism-wrap:not(.cg-governance-wrap) .claimprism-table-wrap {
	border-color:var(--cpd-line-strong);
	border-radius:7px;
	background:var(--cpd-surface);
	box-shadow:none;
}
.claimprism-wrap:not(.cg-governance-wrap) .claimprism-table thead th {
	border-bottom:2px solid #A6ACB3;
	background:var(--cpd-panel-2);
	color:#FFFFFF;
}
.claimprism-wrap:not(.cg-governance-wrap) .claimprism-table td {
	border-bottom-color:#2B3035;
	background:var(--cpd-surface);
	color:#E8EAEC;
}
.claimprism-wrap:not(.cg-governance-wrap) .claimprism-table tbody tr:hover td { background:#14181B; }
.claimprism-wrap:not(.cg-governance-wrap) .claimprism-table strong { color:#FFFFFF; }
.claimprism-wrap:not(.cg-governance-wrap) .claimprism-table small { color:var(--cpd-muted); }
.claimprism-wrap:not(.cg-governance-wrap) .claimprism-table a { color:#DCE1E5; }

/* Keep HIGH severity visually identical across dashboard tables and workflow surfaces. */
.claimprism-wrap:not(.cg-governance-wrap) .cg-badge.cg-high,
.claimprism-wrap:not(.cg-governance-wrap) .cg-high {
	padding:5px 9px;
	border:1px solid var(--cpd-high-border) !important;
	border-radius:999px;
	background:var(--cpd-high) !important;
	color:#FFFFFF !important;
	line-height:1.4;
}

/* Pro surfaces embedded in the main dashboard. */
.claimprism-wrap:not(.cg-governance-wrap) .claimprism-pro-workflow,
.claimprism-wrap:not(.cg-governance-wrap) .claimprism-monitoring-summary,
.claimprism-wrap:not(.cg-governance-wrap) .claimprism-monitoring-detail,
.claimprism-wrap:not(.cg-governance-wrap) .claimprism-evidence-repository,
.claimprism-wrap:not(.cg-governance-wrap) #claimprism-pro-schedule,
.claimprism-wrap:not(.cg-governance-wrap) #claimprism-bulk-review {
	border-color:var(--cpd-line-strong) !important;
	background:var(--cpd-panel) !important;
	box-shadow:none !important;
}
.claimprism-wrap:not(.cg-governance-wrap) .claimprism-pro-workflow-heading,
.claimprism-wrap:not(.cg-governance-wrap) .claimprism-pro-workflow thead th,
.claimprism-wrap:not(.cg-governance-wrap) .claimprism-monitoring-summary table thead th,
.claimprism-wrap:not(.cg-governance-wrap) .claimprism-monitoring-detail table thead th,
.claimprism-wrap:not(.cg-governance-wrap) #claimprism-bulk-review table thead th,
.claimprism-wrap:not(.cg-governance-wrap) .claimprism-evidence-repository table thead th {
	background:var(--cpd-panel-2) !important;
	color:#FFFFFF !important;
}
.claimprism-wrap:not(.cg-governance-wrap) .claimprism-review-filters,
.claimprism-wrap:not(.cg-governance-wrap) .claimprism-review-empty {
	border-color:var(--cpd-line) !important;
	background:var(--cpd-surface) !important;
	color:var(--cpd-muted) !important;
}
.claimprism-wrap:not(.cg-governance-wrap) .claimprism-review-filters label > span { color:#D0D4D8 !important; }
.claimprism-wrap:not(.cg-governance-wrap) .claimprism-pro-workflow tbody td,
.claimprism-wrap:not(.cg-governance-wrap) .claimprism-monitoring-summary table td,
.claimprism-wrap:not(.cg-governance-wrap) .claimprism-monitoring-detail table td,
.claimprism-wrap:not(.cg-governance-wrap) #claimprism-bulk-review table td,
.claimprism-wrap:not(.cg-governance-wrap) .claimprism-evidence-repository table td {
	border-bottom-color:#2B3035 !important;
	background:var(--cpd-surface) !important;
	color:#E8EAEC !important;
}
.claimprism-wrap:not(.cg-governance-wrap) .claimprism-pro-workflow tbody tr:hover td { background:#14181B !important; }
.claimprism-wrap:not(.cg-governance-wrap) .claimprism-review-history { border-color:var(--cpd-line); }
.claimprism-wrap:not(.cg-governance-wrap) .claimprism-review-history summary,
.claimprism-wrap:not(.cg-governance-wrap) .claimprism-review-history small,
.claimprism-wrap:not(.cg-governance-wrap) .claimprism-review-history time { color:var(--cpd-muted); }

/* Intentional light fields for dense data entry/readability. */
.claimprism-wrap:not(.cg-governance-wrap) input[type="text"],
.claimprism-wrap:not(.cg-governance-wrap) input[type="search"],
.claimprism-wrap:not(.cg-governance-wrap) input[type="url"],
.claimprism-wrap:not(.cg-governance-wrap) input[type="date"],
.claimprism-wrap:not(.cg-governance-wrap) select,
.claimprism-wrap:not(.cg-governance-wrap) textarea {
	border-color:#8C939A;
	border-radius:4px;
	background:#FFFFFF;
	color:#111317;
	box-shadow:none;
}

/* Flat button system. */
.claimprism-wrap:not(.cg-governance-wrap) .button,
.claimprism-wrap:not(.cg-governance-wrap) .button-secondary,
.claimprism-wrap:not(.cg-governance-wrap) .button-primary {
	border-radius:4px;
	box-shadow:none !important;
	transform:none !important;
}
.claimprism-wrap:not(.cg-governance-wrap) .claimprism-pro-workflow input.button-primary,
.claimprism-wrap:not(.cg-governance-wrap) .claimprism-pro-workflow button.button-primary,
.claimprism-wrap:not(.cg-governance-wrap) .claimprism-pro-workflow a.button-primary,
.claimprism-wrap:not(.cg-governance-wrap) .claimprism-pro-workflow .button.button-primary,
.claimprism-wrap:not(.cg-governance-wrap) .claimprism-review-export-form .button,
.claimprism-wrap:not(.cg-governance-wrap) .claimprism-review-export-form .button-secondary,
.claimprism-wrap:not(.cg-governance-wrap) .claimprism-evidence-form .button-primary,
.claimprism-wrap:not(.cg-governance-wrap) #claimprism-bulk-review > form > p.submit .button,
.claimprism-wrap:not(.cg-governance-wrap) #claimprism-pro-schedule .button-primary {
	border-color:var(--cpd-green) !important;
	background:var(--cpd-green) !important;
	color:#FFFFFF !important;
	box-shadow:none !important;
	transform:none !important;
}
.claimprism-wrap:not(.cg-governance-wrap) .claimprism-pro-workflow input.button-primary:hover,
.claimprism-wrap:not(.cg-governance-wrap) .claimprism-pro-workflow button.button-primary:hover,
.claimprism-wrap:not(.cg-governance-wrap) .claimprism-pro-workflow a.button-primary:hover,
.claimprism-wrap:not(.cg-governance-wrap) .claimprism-pro-workflow .button.button-primary:hover,
.claimprism-wrap:not(.cg-governance-wrap) .claimprism-review-export-form .button:hover,
.claimprism-wrap:not(.cg-governance-wrap) .claimprism-evidence-form .button-primary:hover,
.claimprism-wrap:not(.cg-governance-wrap) #claimprism-bulk-review > form > p.submit .button:hover,
.claimprism-wrap:not(.cg-governance-wrap) #claimprism-pro-schedule .button-primary:hover {
	border-color:#008D5A !important;
	background:#008D5A !important;
	box-shadow:none !important;
	transform:none !important;
}

@media (max-width:1100px) {
	.claimprism-wrap:not(.cg-governance-wrap) .claimprism-onboarding {
		grid-template-columns:1fr;
	}
}

@media (max-width:782px) {
	.claimprism-wrap:not(.cg-governance-wrap) { margin-right:10px; padding:1px 8px 20px; }
	.claimprism-wrap:not(.cg-governance-wrap) .claimprism-onboarding { padding:16px; }
	.claimprism-wrap:not(.cg-governance-wrap) .claimprism-onboarding-pro {
		align-items:flex-start;
		flex-direction:column;
	}
}
