﻿/*
 * CSS voor workflows, contracten en contractanalyses.
 */
/* ===========================
   Contracten en contractanalyse
   =========================== */
.hw-screen-flex,
.hw-contract-flex,
.hw-profile-flex,
.hw-report-flex {
	display: flex;
	flex-wrap: wrap;
	gap: 28px;
}

.hw-screen-flex > :first-child,
.hw-contract-flex > :first-child,
.hw-profile-flex > :first-child,
.hw-report-flex > :first-child {
	flex: 1 1 560px;
}

.hw-contract-primary-column {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.hw-screen-flex > :last-child,
.hw-contract-flex > :last-child,
.hw-profile-flex > :last-child,
.hw-report-flex > :last-child {
	flex: 1 1 330px;
}

.hw-financial-screen .hw-dashboard-card,
.hw-contract-flex .hw-dashboard-card,
.hw-profile-flex .hw-dashboard-card {
	min-height: 190px;
}

.hw-mock-form {
	display: flex;
	flex-wrap: wrap;
	gap: 28px 36px;
	margin-top: 28px;
}

.hw-entry-mode {
	border: 0;
	display: flex;
	flex: 1 1 100%;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
}

.hw-entry-mode legend {
	color: #030b18;
	flex: 1 1 100%;
	font-size: 12px;
	font-weight: 800;
	margin: 0 0 2px;
}

.hw-entry-mode-option {
	align-items: center;
	border: 1px solid #dbe1ea;
	border-radius: 8px;
	cursor: pointer;
	display: inline-flex;
	gap: 9px;
	min-height: 39px;
	padding: 0 14px;
}

.hw-entry-mode-option:has(input:checked) {
	border-color: #ff3f4b;
	box-shadow: 0 0 0 1px rgba(255, 63, 75, 0.2);
}

.hw-entry-mode-option input {
	accent-color: #ff3f4b;
	border: 0;
	height: 16px;
	margin: 0;
	padding: 0;
	width: 16px;
}

.hw-weekly-fields {
	display: contents;
}

.hw-daily-revenue-fields {
	display: contents;
}

.hw-weekly-fields[hidden] {
	display: none;
}

.hw-mock-form [hidden] {
	display: none !important;
}

.hw-live-list [hidden] {
	display: none !important;
}

.hw-mock-form .hw-field {
	flex: 1 1 calc(50% - 18px);
	min-width: 250px;
}

.hw-mock-form .hw-field {
	gap: 8px;
}

.hw-mock-form .hw-weekly-fields .hw-field {
	margin-bottom: 20px;
}

.hw-mock-form .hw-weekly-fields .hw-field:last-child {
	margin-bottom: 0;
}

.hw-mock-form .hw-field span,
.hw-profile-form span {
	color: #030b18;
	font-size: 12px;
	font-weight: 800;
}

.hw-mock-form input,
.hw-profile-form input,
.hw-profile-form select {
	border: 1px solid #dbe1ea;
	border-radius: 8px;
	color: #030b18;
	height: 39px;
	padding: 0 14px;
}

.hw-mock-form .hw-field .hw-relative-date-control {
	display: block;
	font-size: inherit;
	font-weight: inherit;
	position: relative;
}

.hw-mock-form .hw-relative-date-control .hw-relative-date-input {
	color: transparent;
	width: 100%;
}

.hw-mock-form .hw-relative-date-control .hw-relative-date-display {
	align-items: center;
	bottom: 1px;
	color: #030b18;
	display: flex;
	font-size: inherit;
	font-weight: 400;
	left: 15px;
	pointer-events: none;
	position: absolute;
	right: 50px;
	top: 1px;
}

.hw-relative-date-input::-webkit-calendar-picker-indicator {
	cursor: pointer;
	opacity: 1;
}

.hw-red-button {
	background: #ff3f4b;
	border-color: #ff3f4b;
	border-radius: 8px;
	min-width: 198px;
}

.hw-button-danger {
	background: #ffffff;
	border-color: #fecdca;
	color: #b42318;
}

.hw-button-danger:hover,
.hw-button-danger:focus {
	background: #fef3f2;
	border-color: #f97066;
	color: #b42318;
}

.hw-modal-open {
	overflow: hidden;
}

.hw-modal-backdrop {
	align-items: center;
	background: rgba(15, 23, 42, 0.42);
	display: flex;
	inset: 0;
	justify-content: center;
	padding: 20px;
	position: fixed;
	z-index: 100000;
}

.hw-modal-backdrop[hidden] {
	display: none !important;
}

.hw-modal-panel {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.92)),
		radial-gradient(circle at 12% 0%, rgba(255, 63, 75, 0.06), transparent 34%);
	border: 1px solid #e5ebf3;
	border-radius: 14px;
	box-shadow: 0 24px 70px rgba(15, 23, 42, 0.22);
	max-width: 520px;
	outline: none;
	padding: 24px;
	width: min(100%, 520px);
}

.hw-modal-header {
	align-items: flex-start;
	display: flex;
	gap: 16px;
	justify-content: space-between;
	margin-bottom: 10px;
}

.hw-modal-header h2 {
	color: #0f172a;
	font-size: 20px;
	line-height: 1.2;
	margin: 0;
}

.hw-modal-close {
	align-items: center;
	background: #f8fafc;
	border: 1px solid #dfe4ec;
	border-radius: 999px;
	color: #475467;
	cursor: pointer;
	display: inline-flex;
	flex: 0 0 36px;
	font-size: 24px;
	height: 36px;
	justify-content: center;
	line-height: 1;
	padding: 0 0 2px;
	width: 36px;
}

.hw-modal-close:hover,
.hw-modal-close:focus {
	background: #fff1f2;
	border-color: rgba(255, 63, 75, 0.34);
	color: #ff3f4b;
	outline: none;
}

.hw-modal-panel p {
	color: #5f6d85;
	font-size: 15px;
	line-height: 1.55;
	margin: 0 0 20px;
}

.hw-modal-actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.hw-modal-actions .hw-button {
	min-height: 42px;
}

.hw-modal-cancel {
	background: transparent;
	border: 0;
	color: #667085;
	cursor: pointer;
	font: inherit;
	font-size: 13px;
	font-weight: 800;
	min-height: 42px;
	padding: 0 8px;
}

.hw-modal-cancel:hover,
.hw-modal-cancel:focus {
	color: #0f172a;
	outline: none;
}

.hw-live-card {
	align-content: start;
	display: flex;
	flex-direction: column;
	gap: 26px;
}

.hw-live-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.hw-live-list div {
	align-items: center;
	background: #ffffff;
	border: 1px solid #dfe4ec;
	border-radius: 8px;
	display: flex;
	justify-content: space-between;
	min-height: 53px;
	padding: 0 20px;
}

.hw-live-list span,
.hw-live-card p {
	color: #5f6d85;
	font-size: 12px;
}

.hw-live-list strong {
	font-size: 14px;
}

.hw-green-text {
	color: #08a040;
}

.hw-orange-text {
	color: #ff951c;
}

.hw-red-text {
	color: #ff3f4b;
}

@media (max-width: 640px) {
	.hw-modal-backdrop {
		align-items: flex-end;
		padding: 12px;
	}

	.hw-modal-panel {
		border-radius: 14px;
		padding: 20px;
	}

	.hw-modal-actions {
		align-items: stretch;
		flex-direction: column;
	}

	.hw-modal-actions .hw-button,
	.hw-modal-cancel {
		justify-content: center;
		width: 100%;
	}
}

.hw-upload-box {
	align-items: center;
	border: 1px dashed #d8dee8;
	border-radius: 10px;
	color: #657189;
	cursor: pointer;
	display: flex;
	font-weight: 800;
	justify-content: center;
	min-height: 101px;
	text-align: center;
}

.hw-upload-box {
	flex-direction: column;
	gap: 8px;
	padding: 22px;
	transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
}

.hw-upload-box > .dashicons {
	align-items: center;
	background: #fff1f2;
	border-radius: 999px;
	color: #ff3f4b;
	display: inline-flex;
	font-size: 24px;
	height: 48px;
	justify-content: center;
	width: 48px;
}

.hw-upload-box strong,
.hw-upload-box small,
.hw-upload-box em {
	display: block;
}

.hw-upload-box small {
	color: #5f6d85;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.45;
}

.hw-upload-box em {
	background: #f8fafc;
	border: 1px solid #e5ebf3;
	border-radius: 999px;
	color: #475467;
	font-size: 11px;
	font-style: normal;
	font-weight: 900;
	line-height: 1;
	padding: 8px 10px;
}

.hw-upload-box:hover,
.hw-upload-box:focus-within,
.hw-upload-box.is-dragover {
	background: #fff7f8;
	border-color: #ff3f4b;
	box-shadow: 0 12px 28px rgba(255, 63, 75, 0.1);
	color: #071225;
	transform: translateY(-1px);
}

.hw-upload-box.has-file {
	background: #ecfdf3;
	border-color: #22a861;
}

.hw-upload-box.has-file > .dashicons {
	background: #ffffff;
	color: #22a861;
}

.hw-upload-box.has-error {
	background: #fef3f2;
	border-color: #ff3f4b;
	color: #b91c1c;
}

.hw-upload-box input {
	display: none;
}

.hw-contract-form {
	display: flex;
	flex-direction: column;
	gap: 30px;
	margin-top: 26px;
}

.hw-contract-form fieldset {
	border: 0;
	display: contents;
	margin: 0;
	min-width: 0;
	padding: 0;
}

.hw-contract-form.is-locked {
	opacity: 0.72;
}

.hw-contract-form.is-locked .hw-upload-box,
.hw-contract-form.is-locked .hw-button {
	cursor: not-allowed;
}

.hw-contract-limit-lock {
	align-items: center;
	background: #fff7ed;
	border: 1px solid #fed7aa;
	border-radius: 10px;
	color: #9a3412;
	display: flex;
	gap: 14px;
	margin-top: 18px;
	padding: 14px 16px;
}

.hw-contract-limit-lock > .dashicons {
	align-items: center;
	background: #ffedd5;
	border-radius: 999px;
	color: #ea580c;
	display: inline-flex;
	flex: 0 0 42px;
	font-size: 22px;
	height: 42px;
	justify-content: center;
	width: 42px;
}

.hw-contract-limit-lock strong {
	color: #7c2d12;
	display: block;
	font-size: 14px;
	line-height: 1.2;
}

.hw-contract-limit-lock p {
	color: #9a3412;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.45;
	margin: 3px 0 0;
}
.hw-contract-form-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.hw-contract-form-grid > * {
	flex: 1 1 calc(50% - 8px);
	min-width: 240px;
}

.hw-contract-form-grid .hw-field span,
.hw-contract-filters .hw-field span {
	color: #030b18;
	font-size: 12px;
	font-weight: 800;
}

.hw-upload-progress {
	background: #edf2f7;
	border-radius: 999px;
	display: none;
	height: 8px;
	overflow: hidden;
}

.hw-upload-progress span {
	animation: hwUploadProgress 1.1s ease-in-out infinite;
	background: linear-gradient(90deg, #ff3f4b, #22a861);
	border-radius: inherit;
	display: block;
	height: 100%;
	width: 42%;
}

.hw-contract-form.is-uploading .hw-upload-progress {
	display: block;
}

.hw-ai-checks,
.hw-guideline-list,
.hw-settings-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.hw-ai-checks-heading {
	align-items: center;
	display: flex;
	gap: 10px;
	justify-content: space-between;
	margin: 22px 0 12px;
}

.hw-ai-checks-heading strong {
	color: #0f172a;
	font-size: 15px;
	line-height: 1.25;
}

.hw-ai-checks-heading span {
	color: #5f6d85;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.35;
	text-align: right;
}

.hw-ai-checks-heading-positive {
	margin-top: 26px;
}

.hw-ai-checks-positive {
	padding-bottom: 52px;
}

.hw-ai-check {
	align-items: flex-start;
	background: #ffffff;
	border: 1px solid #eef2f7;
	border-radius: 14px;
	display: flex;
	flex-direction: column;
	gap: 4px 16px;
	min-height: 50px;
	min-width: 0;
	padding: 0;
	position: relative;
}

.hw-ai-check-laag {
	background: #f0fdf4;
	border-color: rgba(4, 120, 87, 0.22);
}

.hw-ai-check-middel {
	background: #fff7ed;
	border-color: rgba(194, 65, 12, 0.22);
}

.hw-ai-check-review {
	background: #eff6ff;
	border-color: rgba(37, 99, 235, 0.2);
}

.hw-ai-check-attention {
	background: #f5f3ff;
	border-color: rgba(124, 58, 237, 0.2);
}

.hw-ai-check-neutral {
	background: #f8fafc;
	border-color: rgba(100, 116, 139, 0.22);
}

.hw-ai-check-hoog {
	background: #fef3f2;
	border-color: rgba(185, 28, 28, 0.22);
}

.hw-ai-check-toggle {
	align-items: flex-start;
	background: transparent;
	border: 0;
	border-radius: 14px;
	color: #0f172a;
	cursor: pointer;
	display: flex;
	gap: 14px;
	min-height: 58px;
	padding: 15px;
	text-align: left;
	width: 100%;
}

.hw-ai-check-toggle > span:first-child {
	flex: 0 0 30px;
}

.hw-ai-check-toggle > .hw-ai-check-copy {
	flex: 1 1 auto;
	min-width: 0;
}

.hw-ai-check-toggle > .hw-ai-check-caret {
	flex: 0 0 18px;
}

.hw-ai-check-toggle:hover,
.hw-ai-check-toggle:focus {
	outline: none;
}

.hw-ai-check-laag .hw-ai-check-toggle:hover,
.hw-ai-check-laag .hw-ai-check-toggle:focus {
	background: #dcfce7;
}

.hw-ai-check-middel .hw-ai-check-toggle:hover,
.hw-ai-check-middel .hw-ai-check-toggle:focus {
	background: #ffedd5;
}

.hw-ai-check-hoog .hw-ai-check-toggle:hover,
.hw-ai-check-hoog .hw-ai-check-toggle:focus {
	background: #fee2e2;
}

.hw-ai-check-review .hw-ai-check-toggle:hover,
.hw-ai-check-review .hw-ai-check-toggle:focus {
	background: #dbeafe;
}

.hw-ai-check-attention .hw-ai-check-toggle:hover,
.hw-ai-check-attention .hw-ai-check-toggle:focus {
	background: #ede9fe;
}

.hw-ai-check-neutral .hw-ai-check-toggle:hover,
.hw-ai-check-neutral .hw-ai-check-toggle:focus {
	background: #eef2f7;
}

.hw-ai-check-toggle:focus-visible {
	box-shadow: 0 0 0 3px rgba(255, 63, 75, 0.18);
}

.hw-ai-check-laag .hw-ai-check-toggle:focus-visible {
	box-shadow: 0 0 0 3px rgba(4, 120, 87, 0.18);
}

.hw-ai-check-middel .hw-ai-check-toggle:focus-visible {
	box-shadow: 0 0 0 3px rgba(194, 65, 12, 0.18);
}

.hw-ai-check-review .hw-ai-check-toggle:focus-visible {
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}

.hw-ai-check-attention .hw-ai-check-toggle:focus-visible {
	box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.18);
}

.hw-ai-check-neutral .hw-ai-check-toggle:focus-visible {
	box-shadow: 0 0 0 3px rgba(100, 116, 139, 0.18);
}

.hw-ai-check-toggle > span:first-child {
	align-items: center;
	border-radius: 999px;
	color: #fff;
	display: flex;
	font-size: 10px;
	font-weight: 900;
	height: 32px;
	justify-content: center;
	width: 32px;
}

.hw-ai-check-copy {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.hw-ai-check-copy strong {
	line-height: 1.35;
	overflow-wrap: anywhere;
}

.hw-ai-checks span svg {
	fill: none;
	height: 16px;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2.4;
	width: 16px;
}

.hw-ai-checks span i {
	font-size: 16px;
	height: 16px;
	line-height: 16px;
	width: 16px;
}

.hw-ai-check-copy small {
	color: #5f6d85;
	line-height: 1.45;
	white-space: normal;
}

.hw-ai-check-copy em {
	align-items: center;
	border-radius: 999px;
	color: #667085;
	display: inline-flex;
	font-size: 11px;
	font-style: normal;
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1.25;
	width: fit-content;
}

.hw-ai-check-laag .hw-ai-check-copy em {
	color: #047857;
}

.hw-ai-check-middel .hw-ai-check-copy em {
	color: #c2410c;
}

.hw-ai-check-hoog .hw-ai-check-copy em {
	color: #b91c1c;
}

.hw-ai-check-review .hw-ai-check-copy em {
	color: #2563eb;
}

.hw-ai-check-attention .hw-ai-check-copy em {
	color: #7c3aed;
}

.hw-ai-check-neutral .hw-ai-check-copy em {
	color: #64748b;
}

.hw-ai-check-caret {
	color: #667085;
	font-size: 17px;
	height: 18px;
	line-height: 18px;
	margin-top: 5px;
	transition: transform 180ms ease;
	width: 18px;
}

.hw-ai-check-toggle[aria-expanded="true"] .hw-ai-check-caret {
	transform: rotate(180deg);
}

.hw-ai-check-panel {
	border-top: 1px solid #eef2f7;
	color: #5f6d85;
	display: flex;
	flex-direction: column;
	font-size: 13px;
	gap: 10px;
	line-height: 1.55;
	margin: 0 14px 14px 58px;
	padding-top: 12px;
}

.hw-ai-check-panel[hidden] {
	display: none;
}

.hw-ai-check.is-opening .hw-ai-check-panel {
	animation: hwAccordionOpen 180ms ease-out both;
}

.hw-ai-check-panel p {
	margin: 0;
}

.hw-ai-check-panel p strong {
	color: #344054;
	display: block;
	font-size: 11px;
	line-height: 1.3;
	margin-bottom: 3px;
	text-transform: uppercase;
}

.hw-ai-priority {
	align-self: flex-start;
	border: 1px solid #e5ebf3;
	border-radius: 999px;
	color: #475467;
	font-size: 11px;
	font-weight: 800;
	line-height: 1;
	padding: 6px 9px;
}

.hw-ai-priority-high {
	background: #fef3f2;
	border-color: rgba(185, 28, 28, 0.18);
	color: #b91c1c;
}

.hw-ai-priority-medium {
	background: #fff7ed;
	border-color: rgba(194, 65, 12, 0.18);
	color: #c2410c;
}

.hw-ai-priority-low {
	background: #f0fdf4;
	border-color: rgba(4, 120, 87, 0.18);
	color: #047857;
}

.hw-contract-ai-card {
	padding-bottom: 72px;
}

.hw-contract-ai-card .hw-ai-checks {
	gap: 8px;
}

.hw-contract-ai-card .hw-ai-checks-heading {
	margin: 14px 0 8px;
}

.hw-contract-ai-card .hw-ai-checks-heading + .hw-ai-checks {
	margin-top: 0;
}

.hw-contract-ai-card .hw-ai-check {
	border-radius: 12px;
	min-height: 0;
}

.hw-contract-ai-card .hw-ai-check-toggle {
	align-items: center;
	border-radius: 12px;
	gap: 12px;
	min-height: 0;
	padding: 12px 14px;
}

.hw-contract-ai-card .hw-ai-check-copy {
	gap: 3px;
}

.hw-contract-ai-card .hw-ai-check-caret {
	margin-top: 0;
}

.hw-contract-ai-card .hw-ai-check-panel {
	margin: 0 14px 12px 56px;
	padding-top: 8px;
}
.hw-contract-analysis-loading {
	align-items: center;
	background:
		radial-gradient(circle at 50% 0%, rgba(255, 63, 75, 0.08), transparent 58%),
		linear-gradient(180deg, #fff 0%, #fffafb 100%);
	border: 1px solid #f2dfe2;
	border-radius: 18px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin-top: 18px;
	min-height: 330px;
	padding: 42px 30px;
	text-align: center;
}

.hw-contract-analysis-loading[hidden],
.hw-contract-analysis-content[hidden] {
	display: none;
}

.hw-contract-analysis-loader {
	align-items: center;
	background: #fff;
	border: 1px solid #f2dfe2;
	border-radius: 999px;
	box-shadow: 0 12px 30px rgba(104, 34, 45, 0.1);
	display: flex;
	gap: 7px;
	height: 68px;
	justify-content: center;
	margin-bottom: 22px;
	width: 68px;
}

.hw-contract-analysis-loader span {
	animation: hwContractLoadingDot 1.25s ease-in-out infinite;
	background: #ff3f4b;
	border-radius: 999px;
	height: 8px;
	width: 8px;
}

.hw-contract-analysis-loader span:nth-child(2) {
	animation-delay: 140ms;
}

.hw-contract-analysis-loader span:nth-child(3) {
	animation-delay: 280ms;
}

.hw-contract-analysis-loading strong {
	color: #172033;
	font-size: 18px;
	line-height: 1.35;
}

.hw-contract-analysis-loading p {
	color: #5f6d85;
	font-size: 14px;
	font-weight: 700;
	margin: 10px 0 20px;
	min-height: 22px;
}

.hw-contract-analysis-loading p.is-changing {
	animation: hwContractStatusIn 280ms ease-out both;
}

.hw-contract-analysis-loading small {
	color: #8791a5;
	font-size: 12px;
	margin-top: 14px;
}

.hw-contract-analysis-loading-bar {
	background: #f3e8ea;
	border-radius: 999px;
	height: 5px;
	overflow: hidden;
	width: min(260px, 80%);
}

.hw-contract-analysis-loading-bar span {
	animation: hwContractLoadingBar 1.8s ease-in-out infinite;
	background: linear-gradient(90deg, #ff6973, #ff3f4b);
	border-radius: inherit;
	display: block;
	height: 100%;
	width: 42%;
}

[data-hw-analysis-start].is-disabled,
[data-hw-analysis-start][aria-disabled="true"] {
	cursor: wait;
	opacity: 0.62;
	pointer-events: none;
}

@keyframes hwContractLoadingDot {
	0%,
	60%,
	100% {
		opacity: 0.35;
		transform: translateY(0) scale(0.82);
	}

	30% {
		opacity: 1;
		transform: translateY(-5px) scale(1);
	}
}

@keyframes hwContractLoadingBar {
	0% {
		transform: translateX(-110%);
	}

	50% {
		transform: translateX(75%);
	}

	100% {
		transform: translateX(250%);
	}
}

@keyframes hwContractStatusIn {
	from {
		opacity: 0;
		transform: translateY(4px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.hw-contract-analysis-loader span,
	.hw-contract-analysis-loading-bar span,
	.hw-contract-analysis-loading p.is-changing {
		animation-duration: 1ms;
		animation-iteration-count: 1;
	}
}

.hw-contract-ai-card .hw-ai-checks {
	padding-bottom: 10px;
}

body:has(.hw-contract-help) {
	padding-bottom: calc(156px + env(safe-area-inset-bottom, 0px));
}

@keyframes hwAccordionOpen {
	from {
		opacity: 0;
		transform: translateY(-4px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.hw-contract-table-card,
.hw-report-table-card {
	margin-top: 34px;
}

.hw-contract-section-heading {
	align-items: flex-start;
	display: flex;
	gap: 16px;
	justify-content: space-between;
	margin-bottom: 20px;
}

.hw-contract-section-heading h2 {
	margin-bottom: 6px;
}

.hw-contract-section-heading p,
.hw-example-contract em {
	color: #5f6d85;
	font-size: 12px;
	margin: 0;
}

.hw-contract-alerts {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 22px;
}

.hw-contract-expiry-alert {
	align-items: center;
	background: #fff7ed;
	border: 1px solid #fed7aa;
	border-radius: 12px;
	color: #9a3412;
	display: flex;
	gap: 12px;
	padding: 13px 14px;
}

.hw-contract-expiry-alert.is-expired {
	background: #fef3f2;
	border-color: #fecdca;
	color: #b91c1c;
}

.hw-contract-expiry-alert > .dashicons {
	font-size: 22px;
	height: 22px;
	width: 22px;
}

.hw-contract-expiry-alert div {
	flex: 1 1 auto;
	min-width: 0;
}

.hw-contract-expiry-alert strong,
.hw-contract-expiry-alert small {
	display: block;
}

.hw-contract-expiry-alert small {
	font-size: 12px;
	font-weight: 800;
}

.hw-example-contracts {
	margin-bottom: 28px;
}

.hw-example-contract-list {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.hw-example-contract {
	align-items: flex-start;
	border: 1px solid #dfe4ec;
	border-radius: 8px;
	color: #071225;
	display: flex;
	flex: 1 1 260px;
	gap: 14px;
	min-height: 76px;
	padding: 14px 16px;
	text-decoration: none;
}

.hw-example-contract > div {
	min-width: 0;
}

.hw-example-contract:hover,
.hw-example-contract:focus {
	border-color: #b8c2d2;
	box-shadow: 0 6px 18px rgba(16, 24, 39, 0.08);
	color: #071225;
}

.hw-example-contract span {
	align-items: center;
	border-radius: 8px;
	color: #ffffff;
	display: inline-flex;
	flex: 0 0 48px;
	font-size: 11px;
	font-weight: 900;
	height: 48px;
	justify-content: center;
	letter-spacing: 0;
	width: 48px;
}

.hw-example-contract-green span {
	background: var(--hw-green);
}

.hw-example-contract-red span {
	background: var(--hw-red);
}

.hw-example-contract strong,
.hw-example-contract small {
	display: block;
}

.hw-example-contract strong {
	font-size: 14px;
	line-height: 1.25;
}

.hw-example-contract small {
	color: #5f6d85;
	font-size: 12px;
	margin-top: 4px;
}

.hw-example-contract em {
	background: #f8fafc;
	border: 1px solid #e5ebf3;
	border-radius: 999px;
	display: inline-flex;
	font-style: normal;
	font-weight: 900;
	line-height: 1;
	margin: 8px 0;
	padding: 7px 9px;
}

.hw-contract-inline-actions,
.hw-contract-actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 12px;
}

.hw-contract-pdf-preview-card {
	margin-top: 0;
}

.hw-contract-pdf-preview-card .hw-contract-section-heading {
	align-items: flex-start;
	gap: 16px;
}

.hw-contract-pdf-preview {
	background: #f8fafc;
	border: 1px solid #d9dee7;
	border-radius: 8px;
	display: block;
	height: min(78vh, 920px);
	min-height: 520px;
	width: 100%;
}

.hw-contract-score {
	align-items: center;
	background: #f8fafc;
	border: 1px solid #e5ebf3;
	border-radius: 18px;
	box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
	display: flex;
	gap: 20px;
	margin-bottom: 18px;
	min-width: 0;
	padding: 18px;
}

.hw-contract-score .hw-ring {
	animation: hwScoreFill 780ms ease-out both;
	flex: 0 0 112px;
	height: 112px;
	transition: background 220ms ease, box-shadow 220ms ease;
	width: 112px;
}

.hw-contract-score .hw-ring::after {
	height: 86px;
	width: 86px;
}

.hw-contract-score .hw-ring span {
	font-size: 26px;
	font-weight: 900;
}

.hw-contract-score strong,
.hw-contract-score small {
	display: block;
	min-width: 0;
	overflow-wrap: anywhere;
}

.hw-contract-score small {
	color: #5f6d85;
	font-size: 12px;
	margin: 5px 0 8px;
}

.hw-contract-score .hw-ring.hw-ring-green {
	--hw-ring-color: #047857;
	box-shadow: inset 0 0 0 1px rgba(4, 120, 87, 0.16), 0 16px 34px rgba(4, 120, 87, 0.12);
}

.hw-contract-score .hw-ring.hw-ring-orange {
	--hw-ring-color: #c2410c;
	box-shadow: inset 0 0 0 1px rgba(194, 65, 12, 0.16), 0 16px 34px rgba(194, 65, 12, 0.12);
}

.hw-contract-score .hw-ring.hw-ring-red {
	--hw-ring-color: #b91c1c;
	box-shadow: inset 0 0 0 1px rgba(185, 28, 28, 0.16), 0 16px 34px rgba(185, 28, 28, 0.12);
}

.hw-contract-score .hw-ring.hw-ring-neutral {
	--hw-ring-color: #64748b;
	box-shadow: inset 0 0 0 1px rgba(100, 116, 139, 0.16), 0 16px 34px rgba(100, 116, 139, 0.1);
}

.hw-contract-score-laag {
	border-color: rgba(4, 120, 87, 0.22);
}

.hw-contract-score-middel {
	border-color: rgba(194, 65, 12, 0.22);
}

.hw-contract-score-hoog {
	border-color: rgba(185, 28, 28, 0.22);
}

.hw-contract-score- {
	border-color: rgba(100, 116, 139, 0.22);
}

.hw-contract-score-body {
	min-width: 0;
}

.hw-contract-score-body > strong {
	font-size: 18px;
	line-height: 1.25;
}

.hw-contract-score-meta {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 10px;
}

.hw-contract-score-meta > span {
	background: #ffffff;
	border: 1px solid #e5ebf3;
	border-radius: 999px;
	color: #5f6d85;
	font-size: 11px;
	font-weight: 800;
	line-height: 1;
	padding: 7px 10px;
}

.hw-contract-ai-summary {
	background: #f8fafc;
	border: 1px solid #e5ebf3;
	border-radius: 14px;
	margin: 0 0 16px;
	padding: 16px;
}

.hw-contract-ai-summary strong {
	color: #0f172a;
	display: block;
	font-size: 13px;
	margin-bottom: 6px;
}

.hw-contract-ai-summary p {
	color: #5f6d85;
	font-size: 13px;
	line-height: 1.55;
	margin: 0;
}

.hw-contract-analysis-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 18px;
}

.hw-contract-analysis-meta span {
	flex: 1 1 136px;
}

.hw-contract-analysis-meta span {
	background: #ffffff;
	border: 1px solid #e5ebf3;
	border-radius: 12px;
	color: #667085;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.35;
	min-width: 0;
	overflow-wrap: normal;
	padding: 13px;
	word-break: keep-all;
}

.hw-contract-analysis-meta strong {
	color: #0f172a;
	display: block;
	font-size: 14px;
	margin-bottom: 2px;
	overflow-wrap: normal;
	word-break: keep-all;
}

.hw-contract-analysis-progress {
	background: #ffffff;
	border: 1px solid #e5ebf3;
	border-radius: 14px;
	margin: 0 0 18px;
	padding: 14px;
}

.hw-contract-analysis-progress > div {
	align-items: center;
	display: flex;
	gap: 10px;
	justify-content: space-between;
	margin-bottom: 10px;
}

.hw-contract-analysis-progress strong {
	color: #0f172a;
	font-size: 13px;
}

.hw-contract-analysis-progress span {
	color: #5f6d85;
	font-size: 12px;
	font-weight: 800;
	text-align: right;
}

.hw-contract-analysis-progress progress {
	appearance: none;
	display: block;
	height: 9px;
	width: 100%;
}

.hw-contract-analysis-progress progress::-webkit-progress-bar {
	background: #eef2f7;
	border-radius: 999px;
}

.hw-contract-analysis-progress progress::-webkit-progress-value {
	background: var(--hw-ring-color, #047857);
	border-radius: 999px;
}

.hw-contract-analysis-progress progress::-moz-progress-bar {
	background: var(--hw-ring-color, #047857);
	border-radius: 999px;
}

.hw-contract-score-laag ~ .hw-contract-analysis-progress {
	--hw-ring-color: #047857;
}

.hw-contract-score-middel ~ .hw-contract-analysis-progress {
	--hw-ring-color: #c2410c;
}

.hw-contract-score-hoog ~ .hw-contract-analysis-progress {
	--hw-ring-color: #b91c1c;
}

@keyframes hwScoreFill {
	from {
		--hw-ring-fill: 0;
	}

	to {
		--hw-ring-fill: var(--hw-progress);
	}
}

.hw-contract-empty-analysis {
	align-items: center;
	background: #f8fafc;
	border: 1px dashed #d8dee8;
	border-radius: 14px;
	color: #5f6d85;
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-height: 260px;
	justify-content: center;
	padding: 24px;
	text-align: center;
}

.hw-contract-empty-analysis > .dashicons {
	background: #fff1f2;
	border-radius: 999px;
	color: #ff3f4b;
	font-size: 28px;
	height: 54px;
	line-height: 54px;
	width: 54px;
}

.hw-contract-empty-analysis strong {
	color: #030b18;
}

.hw-contract-empty-analysis p {
	margin: 0;
	max-width: 360px;
}

.hw-risk-badge,
.hw-contract-status {
	align-items: center;
	border-radius: 999px;
	display: inline-flex;
	font-size: 11px;
	font-weight: 900;
	gap: 6px;
	line-height: 1;
	padding: 7px 10px;
	white-space: nowrap;
}

.hw-risk-badge i {
	background: currentColor;
	border-radius: 999px;
	display: inline-block;
	height: 7px;
	width: 7px;
}

.hw-risk-laag {
	background: #ecfdf3;
	color: #047857;
}

.hw-risk-middel {
	background: #fff7ed;
	color: #c2410c;
}

.hw-risk-hoog {
	background: #fef3f2;
	color: #b91c1c;
}

.hw-risk-unknown {
	background: #f1f5f9;
	color: #475569;
}

.hw-contract-status {
	background: #f2f4f7;
	color: #475467;
}

.hw-contract-status-actief {
	background: #ecfdf3;
	color: #047857;
}

.hw-contract-status-loopt-af {
	background: #fff7ed;
	color: #c2410c;
}

.hw-contract-status-verlopen {
	background: #fef3f2;
	color: #b91c1c;
}

.hw-contract-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-bottom: 18px;
}

.hw-contract-filters > * {
	flex: 1 1 150px;
}

.hw-contract-filters > *:first-child {
	flex-grow: 1.4;
	min-width: 220px;
}

.hw-contract-table-scroll {
	border: 1px solid #e5ebf3;
	border-radius: 12px;
	overflow-x: auto;
}

.hw-contract-table th,
.hw-contract-table td {
	white-space: nowrap;
}

.hw-contract-table td:first-child {
	font-weight: 800;
	white-space: normal;
}

.hw-contract-row.is-expired {
	background: #fffafa;
	box-shadow: inset 3px 0 0 #ff3f4b;
}

.hw-icon-button {
	align-items: center;
	background: #ffffff;
	border: 1px solid #dfe4ec;
	border-radius: 8px;
	color: #071225;
	display: inline-flex;
	height: 34px;
	justify-content: center;
	transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
	width: 34px;
}

.hw-icon-button:hover,
.hw-icon-button:focus {
	background: #f8fafc;
	border-color: #b8c2d2;
	box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
	color: #071225;
	transform: translateY(-1px);
}

.hw-icon-button-danger {
	color: #b91c1c;
}

.hw-contract-empty-row td {
	color: #5f6d85;
	font-weight: 800;
	text-align: center;
}

.hw-mock-table {
	border-collapse: collapse;
	width: 100%;
}

.hw-mock-table th {
	background: #f0f2f6;
	border: 0;
	font-size: 11px;
	padding: 10px;
	text-align: left;
}

.hw-mock-table td {
	border-bottom: 1px solid #dfe4ec;
	font-size: 12px;
	padding: 16px 10px;
}
@media (max-width: 640px) {
	.hw-entry-mode-option {
		width: 100%;
	}
}

