﻿/*
 * CSS voor rapportagepagina's.
 */

.hw-guideline-list strong {
	font-size: 13px;
}

.hw-report-toolbar {
	align-items: flex-end;
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-bottom: 24px;
}

.hw-report-toolbar .hw-field {
	min-width: 190px;
}

.hw-report-filter-stack {
	display: grid;
	gap: 12px;
	min-width: min(100%, 285px);
}

.hw-report-filter-stack .hw-field {
	min-width: 0;
}

.hw-report-summary {
	border-top: 1px solid #e4e9f1;
	margin-top: 18px;
	padding-top: 18px;
}

.hw-report-summary h3 {
	font-size: 15px;
	margin: 0 0 10px;
}

.hw-report-summary ul,
.hw-report-preview-panel ul {
	color: #5f6d85;
	font-size: 12px;
	line-height: 1.6;
	margin: 0;
	padding-left: 18px;
}

.hw-export-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.hw-export-item {
	align-items: flex-start;
	border: 1px solid #dfe4ec;
	border-radius: 8px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	min-height: 0;
	padding: 18px;
	position: relative;
}

.hw-export-icon {
	align-items: center;
	background: #f2f5fa;
	border-radius: 8px;
	color: #3478f6;
	display: flex;
	flex: 0 0 44px;
	height: 44px;
	justify-content: center;
	width: 44px;
}

.hw-export-icon svg,
.hw-mini-button svg {
	fill: none;
	height: 18px;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2;
	width: 18px;
}

.hw-export-main {
	min-width: 0;
	width: 100%;
}

.hw-export-main strong,
.hw-export-main small {
	display: block;
}

.hw-export-main strong {
	color: #030b18;
	font-size: 15px;
	line-height: 1.25;
	margin-bottom: 6px;
}

.hw-export-main small {
	color: #5f6d85;
	font-size: 12px;
	line-height: 1.45;
	margin-bottom: 10px;
}

.hw-status-pill {
	border-radius: 999px;
	display: inline-flex;
	font-size: 11px;
	font-weight: 800;
	line-height: 1;
	padding: 6px 10px;
}

.hw-status-ready {
	background: #effdf5;
	color: #08a040;
}

.hw-status-processing {
	background: #fff8ea;
	color: #c96700;
}

.hw-export-actions {
	align-items: center;
	display: flex;
	flex-wrap: nowrap;
	gap: 8px;
	width: 100%;
}

.hw-mini-button {
	align-items: center;
	background: #ffffff;
	border: 1px solid #dfe4ec;
	border-radius: 7px;
	color: #071225;
	cursor: pointer;
	display: inline-flex;
	font-family: inherit;
	font-size: 11px;
	font-weight: 800;
	justify-content: center;
	min-height: 34px;
	padding: 8px 12px;
	text-decoration: none;
	white-space: nowrap;
}

.hw-mini-button:hover,
.hw-mini-button:focus {
	border-color: #b8c2d2;
	color: #071225;
}

.hw-mini-button-primary {
	background: #ff3f4b;
	border-color: #ff3f4b;
	color: #ffffff;
	min-width: 134px;
}

.hw-mini-button-primary:hover,
.hw-mini-button-primary:focus {
	background: #111827;
	border-color: #111827;
	color: #ffffff;
}

.hw-export-menu {
	position: relative;
	z-index: 30;
}

.hw-export-menu[open] {
	z-index: 120;
}

.hw-export-menu summary {
	align-items: center;
	border: 1px solid #dfe4ec;
	border-radius: 7px;
	color: #071225;
	cursor: pointer;
	display: flex;
	font-size: 16px;
	font-weight: 900;
	height: 34px;
	justify-content: center;
	line-height: 1;
	list-style: none;
	width: 34px;
}

.hw-export-menu summary::-webkit-details-marker {
	display: none;
}

.hw-export-menu div {
	background: #ffffff;
	border: 1px solid #dfe4ec;
	border-radius: 8px;
	box-shadow: 0 16px 34px rgba(16, 24, 39, 0.14);
	display: flex;
	flex-direction: column;
	min-width: 180px;
	padding: 6px;
	position: absolute;
	right: 0;
	top: calc(100% + 8px);
	z-index: 130;
}

.hw-export-menu:not([open]):not(:hover):not(:focus-within) > div {
	display: none;
}

.hw-export-menu:hover,
.hw-export-menu:focus-within {
	z-index: 120;
}

.hw-export-menu:hover > div,
.hw-export-menu:focus-within > div {
	display: flex;
}

.hw-export-menu:hover summary,
.hw-export-menu:focus-within summary {
	background: #f8fafc;
	border-color: #c9d4e4;
	box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.hw-export-menu div::before {
	content: "";
	height: 8px;
	left: 0;
	position: absolute;
	right: 0;
	top: -9px;
}

.hw-export-item-premium:last-child .hw-export-menu div {
	bottom: calc(100% + 8px);
	top: auto;
}

.hw-export-item-premium:last-child .hw-export-menu div::before {
	bottom: -9px;
	top: auto;
}

.hw-export-menu a,
.hw-export-menu span {
	border-radius: 6px;
	color: #071225;
	font-size: 12px;
	font-weight: 800;
	padding: 9px 10px;
	text-decoration: none;
	white-space: nowrap;
}

.hw-export-menu a:hover,
.hw-export-menu a:focus {
	background: #f2f5fa;
	color: #071225;
}

.hw-export-menu span {
	color: #9aa5b5;
}

.hw-report-preview {
	display: none;
	inset: 0;
	position: fixed;
	z-index: 1000;
}

.hw-report-preview:target,
.hw-report-preview.is-open {
	align-items: center;
	display: flex;
	justify-content: center;
	padding: 24px;
}

.hw-report-preview-backdrop {
	background: rgba(7, 18, 37, 0.58);
	border: 0;
	cursor: pointer;
	inset: 0;
	padding: 0;
	position: absolute;
}

.hw-report-preview-panel {
	background: #ffffff;
	border-radius: 10px;
	box-shadow: 0 24px 60px rgba(7, 18, 37, 0.28);
	max-width: 520px;
	padding: 24px;
	position: relative;
	width: min(100%, 520px);
	z-index: 1;
}

.hw-report-preview-panel header {
	align-items: flex-start;
	display: flex;
	gap: 18px;
	justify-content: space-between;
	margin-bottom: 18px;
}

.hw-report-preview-panel header small {
	color: #5f6d85;
	display: block;
	font-size: 11px;
	font-weight: 800;
	margin-bottom: 4px;
	text-transform: uppercase;
}

.hw-report-preview-panel h2 {
	font-size: 20px;
	margin: 0;
}

.hw-report-preview-panel header > a,
.hw-report-preview-close {
	align-items: center;
	background: #ffffff;
	border: 1px solid #dfe4ec;
	border-radius: 999px;
	color: #071225;
	cursor: pointer;
	display: flex;
	flex: 0 0 34px;
	font: inherit;
	font-weight: 900;
	height: 34px;
	justify-content: center;
	text-decoration: none;
	width: 34px;
}

.hw-report-preview-panel footer {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: flex-start;
	margin-top: 22px;
}

.hw-report-toolbar-modern {
	align-items: flex-end;
	background: #ffffff;
	border: 1px solid #e5ebf3;
	border-radius: 14px;
	box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
	margin-bottom: 18px;
	padding: 18px;
}

.hw-report-toolbar-modern .hw-button span {
	align-items: center;
	background: rgba(255, 255, 255, 0.18);
	border-radius: 999px;
	display: inline-flex;
	font-size: 16px;
	height: 22px;
	justify-content: center;
	line-height: 1;
	margin-right: 8px;
	width: 22px;
}

.hw-report-kpi-flex {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin: 0 0 28px;
}

.hw-report-kpi-card {
	align-items: center;
	animation: hwFadeUp 460ms ease both;
	background: #ffffff;
	border: 1px solid #e5ebf3;
	border-radius: 14px;
	box-shadow: 0 12px 30px rgba(15, 23, 42, 0.045);
	display: flex;
	flex: 1 1 220px;
	gap: 16px;
	min-height: 118px;
	padding: 22px;
	position: relative;
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.hw-report-kpi-card:nth-child(2) {
	animation-delay: 60ms;
}

.hw-report-kpi-card:nth-child(3) {
	animation-delay: 120ms;
}

.hw-report-kpi-card:nth-child(4) {
	animation-delay: 180ms;
}

.hw-report-kpi-card:hover {
	border-color: #d4deeb;
	box-shadow: 0 18px 42px rgba(15, 23, 42, 0.09);
	transform: translateY(-2px);
}

.hw-report-kpi-icon {
	align-items: center;
	background: #eff6ff;
	border-radius: 12px;
	color: #3478f6;
	display: inline-flex;
	flex: 0 0 48px;
	height: 48px;
	justify-content: center;
	width: 48px;
}

.hw-report-kpi-profit .hw-report-kpi-icon,
.hw-report-kpi-margin .hw-report-kpi-icon {
	background: #ecfdf3;
	color: #22a861;
}

.hw-report-kpi-growth .hw-report-kpi-icon {
	background: #fff7ed;
	color: #ff951c;
}

.hw-report-kpi-icon svg {
	fill: none;
	height: 22px;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2.3;
	width: 22px;
}

.hw-report-kpi-card small {
	color: #667085;
	display: block;
	font-size: 11px;
	font-weight: 900;
	letter-spacing: 0.02em;
	margin-bottom: 7px;
	text-transform: uppercase;
}

.hw-report-kpi-card strong {
	color: #0f172a;
	display: block;
	font-size: 24px;
	line-height: 1.15;
	margin-bottom: 8px;
	overflow-wrap: anywhere;
}

.hw-report-kpi-card em {
	border-radius: 999px;
	display: inline-flex;
	font-size: 11px;
	font-style: normal;
	font-weight: 900;
	line-height: 1;
	max-width: 100%;
	overflow-wrap: anywhere;
	padding: 7px 9px;
	text-align: center;
	white-space: normal;
}

.hw-trend-positive {
	background: #ecfdf3;
	color: #047857;
}

.hw-trend-negative {
	background: #fff1f2;
	color: #be123c;
}

.hw-trend-neutral {
	background: #eef2f7;
	color: #475467;
}

.hw-report-flex-modern {
	align-items: stretch;
	margin-bottom: 34px;
}

.hw-report-flex-modern > :first-child {
	flex: 1 1 660px;
}

.hw-report-flex-modern > :last-child {
	flex: 1 1 390px;
}

.hw-report-section-heading {
	align-items: flex-start;
	display: flex;
	gap: 16px;
	justify-content: space-between;
	margin-bottom: 20px;
}

.hw-report-section-heading h2 {
	margin-bottom: 7px;
}

.hw-report-section-heading p {
	color: #5f6d85;
	font-size: 12px;
	line-height: 1.5;
	margin: 0;
}

.hw-report-chart-card {
	overflow: visible;
	position: relative;
	z-index: 20;
}

.hw-chart-modern {
	background: linear-gradient(180deg, #fbfcff 0%, #ffffff 100%);
	border: 1px solid #eef2f7;
	border-radius: 14px;
	min-height: 280px;
	overflow: visible;
	padding: 14px;
	position: relative;
	z-index: 30;
}

.hw-chart-modern svg {
	height: 260px;
	overflow: visible;
}

.hw-chart-skeleton {
	background: linear-gradient(90deg, #f3f6fb 0%, #eef2f7 45%, #f8fafc 80%);
	background-size: 220% 100%;
	border-radius: 12px;
	inset: 14px;
	opacity: 0;
	pointer-events: none;
	position: absolute;
	transition: opacity 220ms ease;
	z-index: 2;
}

.hw-chart-tooltip {
	background: #0f172a;
	border-radius: 8px;
	box-shadow: 0 12px 26px rgba(15, 23, 42, 0.22);
	color: #ffffff;
	font-size: 13px;
	font-weight: 900;
	line-height: 1.35;
	max-width: min(420px, calc(100vw - 40px));
	min-width: 260px;
	opacity: 0;
	padding: 10px 12px;
	pointer-events: none;
	position: absolute;
	transform: translateY(4px);
	transition: opacity 160ms ease, transform 160ms ease;
	white-space: normal;
	z-index: 100000;
}

.hw-chart-tooltip.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.hw-report-chart-card.is-loading .hw-chart-skeleton {
	animation: hwSkeleton 1s ease infinite;
	opacity: 1;
}

.hw-chart-modern .hw-chart-gridline {
	stroke: #edf2f7;
	stroke-width: 1;
}

.hw-chart-area {
	pointer-events: none;
}

.hw-chart-area-blue {
	fill: url(#hw-chart-blue-area);
}

.hw-chart-area-green {
	fill: url(#hw-chart-green-area);
}

.hw-chart-line {
	animation: hwChartDraw 950ms ease both;
	fill: none;
	stroke-dasharray: 900;
	stroke-dashoffset: 900;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 4;
}

.hw-chart-modern .hw-chart-green {
	stroke-width: 4;
}

.hw-chart-modern .hw-chart-point {
	filter: drop-shadow(0 4px 8px rgba(15, 23, 42, 0.12));
	stroke-width: 3;
}

.hw-chart-point-group {
	cursor: pointer;
	outline: none;
}

.hw-chart-point-group:hover .hw-chart-point,
.hw-chart-point-group:focus .hw-chart-point {
	filter: drop-shadow(0 7px 12px rgba(15, 23, 42, 0.18));
	transform: scale(1.18);
}

.hw-chart-legend {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-end;
}

.hw-chart-legend span {
	align-items: center;
	background: #f8fafc;
	border: 1px solid #e5ebf3;
	border-radius: 999px;
	color: #344054;
	display: inline-flex;
	font-size: 11px;
	font-weight: 900;
	gap: 7px;
	line-height: 1;
	padding: 8px 10px;
}

.hw-chart-legend i {
	border-radius: 999px;
	display: inline-block;
	height: 8px;
	width: 8px;
}

.hw-dot-blue {
	background: #3478f6;
}

.hw-dot-green {
	background: #22a861;
}

.hw-ai-summary-modern {
	border-top: 1px solid #e4e9f1;
	margin-top: 22px;
	padding-top: 22px;
}

.hw-ai-summary-title {
	align-items: center;
	display: flex;
	gap: 13px;
	margin-bottom: 16px;
}

.hw-ai-summary-title > span {
	align-items: center;
	background: #0f172a;
	border-radius: 10px;
	color: #ffffff;
	display: inline-flex;
	font-size: 12px;
	font-weight: 900;
	height: 40px;
	justify-content: center;
	width: 40px;
}

.hw-ai-summary-title > span svg {
	fill: none;
	height: 22px;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2.3;
	width: 22px;
}

.hw-ai-summary-title h3 {
	font-size: 16px;
	margin: 0 0 4px;
}

.hw-ai-summary-title p {
	color: #667085;
	font-size: 12px;
	margin: 0;
}

.hw-ai-insight-list {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.hw-ai-insight {
	align-items: flex-start;
	animation: hwFadeUp 520ms ease both;
	background: #fbfcfe;
	border: 1px solid #e5ebf3;
	border-radius: 12px;
	display: flex;
	flex: 1 1 250px;
	gap: 12px;
	padding: 14px;
}

.hw-ai-insight > span {
	align-items: center;
	border-radius: 999px;
	color: #ffffff;
	display: inline-flex;
	flex: 0 0 26px;
	font-size: 12px;
	font-weight: 900;
	height: 26px;
	justify-content: center;
	width: 26px;
}

.hw-ai-insight-green > span {
	background: #22a861;
}

.hw-ai-insight-orange > span {
	background: #ff951c;
}

.hw-ai-insight small {
	border-radius: 999px;
	display: inline-flex;
	font-size: 10px;
	font-weight: 900;
	line-height: 1;
	margin-bottom: 7px;
	padding: 6px 8px;
	text-transform: uppercase;
}

.hw-ai-insight-green small {
	background: #ecfdf3;
	color: #047857;
}

.hw-ai-insight-orange small {
	background: #fff7ed;
	color: #c2410c;
}

.hw-ai-insight strong {
	color: #0f172a;
	display: block;
	font-size: 14px;
	line-height: 1.3;
	margin-bottom: 5px;
}

.hw-ai-insight p {
	color: #667085;
	font-size: 12px;
	line-height: 1.45;
	margin: 0;
}

.hw-report-export-card {
	overflow: visible;
}

.hw-export-item-premium {
	border-radius: 14px;
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.035);
	padding: 20px;
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.hw-export-item-premium:hover {
	border-color: #d2dce9;
	box-shadow: 0 18px 42px rgba(15, 23, 42, 0.09);
	transform: translateY(-3px);
}

.hw-export-topline {
	align-items: flex-start;
	display: flex;
	gap: 12px;
	justify-content: space-between;
	width: 100%;
}

.hw-export-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	justify-content: flex-end;
}

.hw-export-tags span {
	background: #f8fafc;
	border: 1px solid #e5ebf3;
	border-radius: 999px;
	color: #475467;
	font-size: 10px;
	font-weight: 900;
	line-height: 1;
	padding: 7px 8px;
}

.hw-export-tags span:first-child {
	background: #fff1f2;
	border-color: #fecdd3;
	color: #be123c;
}

.hw-export-icon-chart {
	background: #ecfdf3;
	color: #22a861;
}

.hw-export-icon-shield {
	background: #fff7ed;
	color: #ff951c;
}

.hw-export-actions .hw-mini-button {
	gap: 7px;
	min-height: 40px;
	transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
}


.hw-mini-button:hover,
.hw-export-actions .hw-mini-button:focus {
	box-shadow: 0 8px 18px rgba(15, 23, 42, 0.1);
	transform: translateY(-1px);
}

.hw-export-menu summary {
	transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.hw-export-menu summary:hover,
.hw-export-menu summary:focus {
	background: #f8fafc;
	border-color: #c9d4e4;
	box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
	transform: translateY(-1px);
}

.hw-export-menu summary svg {
	fill: currentColor;
	height: 18px;
	width: 18px;
}

.hw-report-table-modern {
	overflow: hidden;
	padding-bottom: 28px;
}

.hw-table-scroll {
	border: 1px solid #e5ebf3;
	border-radius: 12px;
	overflow: hidden;
}

.hw-report-table-modern .hw-mock-table th {
	background: #f8fafc;
	padding: 0;
}

.hw-report-table-modern .hw-mock-table th button {
	align-items: center;
	background: transparent;
	border: 0;
	color: #0f172a;
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	font-size: 11px;
	font-weight: 900;
	gap: 7px;
	min-height: 44px;
	padding: 12px;
	text-align: left;
	width: 100%;
}

.hw-report-table-modern .hw-mock-table th button::after {
	color: #98a2b3;
	content: "sort";
	font-size: 11px;
}

.hw-report-table-modern .hw-mock-table th button[aria-sort="ascending"]::after {
	content: "asc";
}

.hw-report-table-modern .hw-mock-table th button[aria-sort="descending"]::after {
	content: "desc";
}

.hw-report-table-modern .hw-mock-table tbody tr {
	transition: background-color 180ms ease, transform 180ms ease;
}

.hw-report-table-modern .hw-mock-table tbody tr:nth-child(even) {
	background: #fbfcfe;
}

.hw-report-table-modern .hw-mock-table tbody tr:hover {
	background: #f5f8fc;
}

.hw-report-table-modern .hw-mock-table td {
	font-size: 13px;
	padding: 17px 12px;
}

.hw-table-status {
	border-radius: 999px;
	display: inline-flex;
	font-size: 11px;
	font-weight: 900;
	line-height: 1;
	padding: 7px 10px;
}

.hw-table-status-sterk,
.hw-table-status-gezond,
.hw-table-status-goed {
	background: #ecfdf3;
	color: #047857;
}

.hw-table-status-let-op {
	background: #fff7ed;
	color: #c2410c;
}

.hw-table-status-risico {
	background: #fff1f2;
	color: #be123c;
}

.hw-sidebar-toggle {
	align-items: center;
	background: #ffffff;
	border: 1px solid #dfe4ec;
	border-radius: 999px;
	box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
	cursor: pointer;
	display: none;
	flex-direction: column;
	gap: 3px;
	height: 38px;
	justify-content: center;
	left: 14px;
	position: fixed;
	top: calc(var(--wp-admin--admin-bar--height, 0px) + 84px);
	width: 38px;
	z-index: 100;
}

.hw-sidebar-toggle span {
	background: #0f172a;
	border-radius: 999px;
	display: block;
	height: 2px;
	width: 16px;
}

.hw-sidebar-collapsed .hw-sidebar {
	flex-basis: 78px;
}

.hw-sidebar-collapsed .hw-nav-item {
	font-size: 0;
	justify-content: center;
	padding: 0;
}

.hw-sidebar-collapsed .hw-nav-item span {
	font-size: 18px;
}

@keyframes hwFadeUp {
	from {
		opacity: 0;
		transform: translateY(10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes hwChartDraw {
	to {
		stroke-dashoffset: 0;
	}
}

@keyframes hwSkeleton {
	0% {
		background-position: 160% 0;
	}

	100% {
		background-position: -80% 0;
	}
}

.hw-report-toast {
	background: #0f172a;
	border: 1px solid #263244;
	border-radius: 999px;
	box-shadow: 0 16px 36px rgba(15, 23, 42, 0.22);
	color: #ffffff;
	font-size: 12px;
	font-weight: 900;
	opacity: 0;
	padding: 10px 14px;
	pointer-events: none;
	position: fixed;
	right: 24px;
	top: calc(var(--wp-admin--admin-bar--height, 0px) + 96px);
	transform: translateY(-8px);
	transition: opacity 180ms ease, transform 180ms ease;
	z-index: 1200;
}

.hw-report-toast.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.hw-report-toolbar-modern {
	position: relative;
	transition: box-shadow 180ms ease, transform 180ms ease;
}

.hw-report-toolbar-modern.is-generating {
	box-shadow: 0 18px 44px rgba(15, 23, 42, 0.09);
}

.hw-report-toolbar-modern.is-generating .hw-button {
	pointer-events: none;
}

.hw-report-toolbar-modern.is-generating .hw-button::after {
	animation: hwSpin 700ms linear infinite;
	border: 2px solid rgba(255, 255, 255, 0.45);
	border-radius: 999px;
	border-top-color: #ffffff;
	content: "";
	height: 16px;
	margin-left: 10px;
	width: 16px;
}

.hw-report-kpi-card {
	background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
	box-shadow: 0 16px 42px rgba(15, 23, 42, 0.065);
	gap: 18px;
}

.hw-report-kpi-card:hover {
	box-shadow: 0 24px 58px rgba(15, 23, 42, 0.11);
}

.hw-report-kpi-icon {
	background: linear-gradient(135deg, #eff6ff 0%, #e6f0ff 100%);
}

.hw-report-kpi-profit .hw-report-kpi-icon,
.hw-report-kpi-margin .hw-report-kpi-icon {
	background: linear-gradient(135deg, #ecfdf3 0%, #dcfce7 100%);
}

.hw-report-kpi-growth .hw-report-kpi-icon {
	background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
}

.hw-report-kpi-card small {
	margin-bottom: 10px;
}

.hw-report-kpi-card strong {
	margin-bottom: 12px;
}

.hw-chart-hover-line {
	opacity: 0;
	pointer-events: none;
	stroke: #94a3b8;
	stroke-dasharray: 4 6;
	stroke-width: 1.2;
	transition: opacity 160ms ease;
}

.hw-chart-hover-line.is-visible {
	opacity: 0.7;
}

.hw-chart-line,
.hw-chart-area,
.hw-chart-point-group {
	transition: opacity 180ms ease, filter 180ms ease, transform 180ms ease;
}

.hw-chart-area.is-muted,
.hw-chart-line.is-muted,
.hw-chart-point-group.is-muted {
	opacity: 0.14;
}

.hw-chart-point-group:hover .hw-chart-point,
.hw-chart-point-group:focus .hw-chart-point {
	filter: drop-shadow(0 0 8px rgba(52, 120, 246, 0.32)) drop-shadow(0 7px 12px rgba(15, 23, 42, 0.18));
}

.hw-chart-legend button {
	align-items: center;
	background: #f8fafc;
	border: 1px solid #e5ebf3;
	border-radius: 999px;
	color: #344054;
	cursor: pointer;
	display: inline-flex;
	font-family: inherit;
	font-size: 11px;
	font-weight: 900;
	gap: 7px;
	line-height: 1;
	padding: 8px 10px;
	transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.hw-chart-legend button:hover,
.hw-chart-legend button:focus {
	border-color: #cbd5e1;
	box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
	transform: translateY(-1px);
}

.hw-chart-legend button:not(.is-active) {
	opacity: 0.45;
}

.hw-ai-summary-title > span {
	background: linear-gradient(135deg, #0f172a 0%, #263244 100%);
}

.hw-ai-insight {
	display: block;
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.hw-ai-insight:hover,
.hw-ai-insight:focus-within {
	border-color: #d3ddea;
	box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
	transform: translateY(-1px);
}

.hw-ai-insight summary {
	align-items: flex-start;
	cursor: pointer;
	display: flex;
	gap: 12px;
	list-style: none;
}

.hw-ai-insight summary::-webkit-details-marker {
	display: none;
}

.hw-ai-insight-icon {
	align-items: center;
	border-radius: 999px;
	color: #ffffff;
	display: inline-flex;
	flex: 0 0 26px;
	font-size: 12px;
	font-weight: 900;
	height: 26px;
	justify-content: center;
	width: 26px;
}

.hw-ai-insight-green .hw-ai-insight-icon {
	background: #22a861;
}

.hw-ai-insight-orange .hw-ai-insight-icon {
	background: #ff951c;
}

.hw-ai-insight > span {
	display: none;
}

.hw-ai-insight-body {
	display: block;
	flex: 1 1 auto;
	min-width: 0;
}

.hw-ai-insight-text {
	color: #667085;
	display: block;
	font-size: 12px;
	line-height: 1.45;
}

.hw-ai-insight p {
	margin: 12px 0 0 38px;
}

.hw-ai-confidence {
	align-items: flex-end;
	display: flex;
	flex: 0 0 64px;
	flex-direction: column;
	gap: 6px;
	margin-top: 3px;
}

.hw-ai-confidence::before {
	background: #edf2f7;
	border-radius: 999px;
	content: "";
	height: 6px;
	width: 64px;
}

.hw-ai-confidence i {
	background: #22a861;
	border-radius: 999px;
	display: block;
	height: 6px;
	margin-top: -12px;
	max-width: 64px;
}

.hw-ai-insight-orange .hw-ai-confidence i {
	background: #ff951c;
}

.hw-ai-confidence b {
	color: #667085;
	font-size: 10px;
	font-weight: 900;
}

.hw-export-item-premium {
	gap: 12px;
	padding: 18px;
}

.hw-export-item-premium:has(.hw-export-menu[open]),
.hw-export-item-premium:has(.hw-export-menu:hover),
.hw-export-item-premium:has(.hw-export-menu:focus-within) {
	position: relative;
	z-index: 90;
}

.hw-export-menu[open] summary {
	background: #f8fafc;
	border-color: #c9d4e4;
	box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.hw-export-main strong {
	font-size: 16px;
	margin-bottom: 8px;
}

.hw-export-meta-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	width: 100%;
}

.hw-export-meta-grid span {
	background: #f8fafc;
	border: 1px solid #edf2f7;
	border-radius: 10px;
	flex: 1 1 calc(50% - 4px);
	padding: 10px;
}

.hw-export-meta-grid small,
.hw-export-mini-kpi small {
	color: #667085;
	display: block;
	font-size: 10px;
	font-weight: 900;
	line-height: 1.2;
	margin-bottom: 5px;
	text-transform: uppercase;
}

.hw-export-meta-grid strong,
.hw-export-mini-kpi strong {
	color: #0f172a;
	display: block;
	font-size: 12px;
	line-height: 1.25;
	overflow-wrap: anywhere;
}

.hw-export-mini-kpi {
	align-items: center;
	background: linear-gradient(135deg, #fbfcff 0%, #f8fafc 100%);
	border: 1px solid #e5ebf3;
	border-radius: 12px;
	display: flex;
	gap: 12px;
	justify-content: space-between;
	padding: 12px;
	width: 100%;
}

.hw-export-mini-kpi em {
	flex: 0 0 auto;
	white-space: nowrap;
}

.hw-report-table-modern .hw-mock-table th {
	position: sticky;
	top: 0;
	z-index: 2;
}

.hw-report-table-modern .hw-mock-table th button::after {
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 5px solid #98a2b3;
	content: "";
	height: 0;
	margin-top: 2px;
	width: 0;
}

.hw-report-table-modern .hw-mock-table th button[aria-sort="ascending"]::after {
	border-bottom: 5px solid #0f172a;
	border-top: 0;
}

.hw-report-table-modern .hw-mock-table th button[aria-sort="descending"]::after {
	border-top-color: #0f172a;
}

.hw-report-table-modern .hw-mock-table tbody tr:hover {
	box-shadow: inset 3px 0 0 #3478f6;
}

.hw-table-status {
	align-items: center;
	gap: 6px;
}

.hw-table-status i {
	background: currentColor;
	border-radius: 999px;
	display: inline-block;
	height: 7px;
	width: 7px;
}

.hw-reveal {
	opacity: 0;
	transform: translateY(12px);
	transition: opacity 420ms ease, transform 420ms ease;
}

.hw-reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

@keyframes hwSpin {
	to {
		transform: rotate(360deg);
	}
}

@keyframes hwUploadProgress {
	0% {
		transform: translateX(-120%);
	}

	100% {
		transform: translateX(260%);
	}
}

.hw-contract-help {
	bottom: 96px;
	position: fixed;
	right: 24px;
	z-index: 9998;
}

.hw-contract-help-toggle {
	align-items: center;
	background: linear-gradient(135deg, #ff3f4b, #d92332);
	border: 0;
	border-radius: 999px;
	box-shadow: 0 14px 34px rgba(217, 35, 50, 0.28);
	color: #ffffff;
	cursor: pointer;
	display: flex;
	font-size: 24px;
	font-weight: 900;
	height: 52px;
	justify-content: center;
	width: 52px;
}

.hw-contract-help-toggle:hover,
.hw-contract-help-toggle:focus {
	box-shadow: 0 18px 42px rgba(217, 35, 50, 0.36);
	outline: none;
	transform: translateY(-2px);
}

.hw-contract-help-panel {
	background: #ffffff;
	border: 1px solid #dfe4ec;
	border-radius: 16px;
	bottom: 64px;
	box-shadow: 0 18px 45px rgba(15, 23, 42, 0.2);
	max-height: min(620px, calc(100vh - 132px));
	opacity: 0;
	overflow-y: auto;
	padding: 18px;
	pointer-events: none;
	position: absolute;
	right: 0;
	transform: translateY(12px);
	transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
	visibility: hidden;
	width: 370px;
}

.hw-contract-help.is-open .hw-contract-help-panel {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
	visibility: visible;
}

.hw-contract-help-panel header {
	align-items: center;
	display: flex;
	justify-content: space-between;
	margin-bottom: 14px;
}

.hw-contract-help-panel h2 {
	font-size: 18px;
	margin: 0;
}

.hw-contract-help-panel h3 {
	font-size: 14px;
	margin: 0 0 6px;
}

.hw-contract-help-panel p {
	color: #5f6d85;
	font-size: 13px;
	line-height: 1.55;
	margin: 0;
}

.hw-contract-help-panel section {
	border-top: 1px solid #edf2f7;
	padding: 14px 0;
}

.hw-contract-help-panel header + section {
	border-top: 0;
	padding-top: 0;
}

.hw-contract-help-panel header button {
	align-items: center;
	background: #f2f4f7;
	border: 0;
	border-radius: 999px;
	color: #0f172a;
	cursor: pointer;
	display: inline-flex;
	height: 32px;
	justify-content: center;
	width: 32px;
}

.hw-profile-form {
	display: flex;
	flex-direction: column;
	gap: 26px;
	margin-top: 20px;
}

.hw-profile-form label {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 22px;
}

.hw-profile-form label span {
	flex: 0 0 154px;
}

.hw-profile-form label input,
.hw-profile-form label select {
	flex: 1 1 auto;
	min-width: 0;
}

.hw-profile-form label .hw-error {
	flex: 1 1 100%;
	margin-left: 176px;
}

.hw-profile-summary {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin-top: 12px;
}

.hw-profile-row {
	align-items: center;
	border-bottom: 1px solid #dfe4ec;
	display: flex;
	gap: 22px;
	justify-content: space-between;
	padding: 12px 0;
}

.hw-profile-row:last-child {
	border-bottom: 0;
}

.hw-profile-row span {
	color: #5f6d85;
	font-size: 12px;
	font-weight: 800;
}

.hw-profile-row strong {
	color: #030b18;
	font-size: 14px;
	text-align: right;
}


