.webpioneer-hero {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	background: linear-gradient(135deg, #0F172A 0%, #2563EB 100%);
	border: 1px solid #1e3a8a;
	border-radius: 12px;
	padding: 10px 14px;
	margin: 10px 0 12px;
	position: relative;
	overflow: hidden;
}
.webpioneer-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		radial-gradient(rgba(255, 255, 255, 0.10) 1px, transparent 1px);
	background-size: 16px 16px;
	opacity: 0.25;
	pointer-events: none;
}
.webpioneer-hero-left {
	display: flex;
	align-items: center;
	gap: 8px;
	position: relative;
	z-index: 1;
}
.webpioneer-hero-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.14);
	color: #ffffff;
}
.webpioneer-hero h1 {
	margin: 0;
	font-size: 32px;
	line-height: 1.1;
	color: #FFFFFF;
}
.webpioneer-hero p {
	margin: 2px 0 0;
	color: rgba(255, 255, 255, 0.85);
	font-weight: 400;
}
.webpioneer-hero-right {
	display: flex;
	gap: 8px;
	align-items: center;
	position: relative;
	z-index: 1;
}
.webpioneer-hero-right .button {
	background: #fff;
	border-color: #cbd5e1;
	color: #0f172a;
	min-height: 30px;
	line-height: 28px;
}
.webpioneer-hero-right .button:hover,
.webpioneer-hero-right .button:focus {
	background: #f8fafc;
	border-color: #94a3b8;
	color: #0f172a;
}
.webpioneer-section > h2 {
	margin: 0 0 4px;
}
.webpioneer-section > .description {
	margin: 0 0 12px;
	color: #646970;
}
.webpioneer-setting-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 10px;
}
.webpioneer-setting-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 10px 12px;
	border: 1px solid #e2e4e7;
	border-radius: 8px;
	background: #fbfcfd;
}
.webpioneer-setting-item label {
	font-weight: 600;
}
.webpioneer-setting-value {
	font-size: 12px;
	color: var(--wpn-neutral-fg);
	background: var(--wpn-neutral-bg);
	border-radius: 999px;
	padding: 3px 9px;
	border: 1px solid #dde5ef;
}
.webpioneer-setting-value--enabled {
	background: var(--wpn-success-bg);
	color: var(--wpn-success-fg);
	border-color: #c7ead6;
}
.webpioneer-setting-value--default {
	background: var(--wpn-brand-100);
	color: var(--wpn-brand-700);
	border-color: #c8dcff;
}
.webpioneer-setting-value--warning {
	background: var(--wpn-warning-bg);
	color: var(--wpn-warning-fg);
	border-color: #f4deb2;
}
.webpioneer-value-small {
	font-size: 18px;
}
.webpioneer-last-run {
	margin: 12px 0 4px;
}
.webpioneer-item-name {
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.webpioneer-item-size {
	color: #646970;
}
.webpioneer-item-folder {
	font-size: 11px;
	color: #646970;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	margin: 2px 0 1px;
}
.webpioneer-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 14px;
	margin: 16px 0 20px;
}
.webpioneer-charts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 14px;
	margin: 8px 0 16px;
}
.webpioneer-chart-card,
.webpioneer-card,
.webpioneer-panel,
.webpioneer-runner,
.webpioneer-audit {
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 12px;
}
.webpioneer-chart-card,
.webpioneer-card,
.webpioneer-panel,
.webpioneer-audit {
	box-shadow: 0 1px 1px rgba(16, 24, 40, 0.03), 0 2px 6px rgba(16, 24, 40, 0.04);
}
.webpioneer-chart-card,
.webpioneer-card,
.webpioneer-runner,
.webpioneer-audit {
	padding: 14px;
}
.webpioneer-panel {
	padding: 16px;
	margin-top: 16px;
	width: 100%;
}
.webpioneer-panel h3 {
	margin: 12px 0 6px;
}
.webpioneer-chart-title {
	font-size: 13px;
	font-weight: 600;
	margin: 0 0 8px;
}
.webpioneer-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 8px;
	font-size: 12px;
}
.webpioneer-legend span {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background: #f8f9fa;
	border: 1px solid #eceef0;
	border-radius: 999px;
	padding: 2px 8px;
}
.webpioneer-dot {
	width: 8px;
	height: 8px;
	border-radius: 999px;
	display: inline-block;
}
.webpioneer-card {
	background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
	padding: 14px 16px;
	border-color: #d8dde3;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}
.webpioneer-card-main {
	display: block;
	min-width: 0;
}
.webpioneer-label {
	font-size: 12px;
	color: #646970;
	margin-bottom: 6px;
}
.webpioneer-card-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 10px;
	background: #eef2f7;
	color: #344054;
	flex-shrink: 0;
}
.webpioneer-card-scanned .webpioneer-card-icon {
	background: #eef4ff;
	color: #3366cc;
}
.webpioneer-card-ready .webpioneer-card-icon {
	background: #e9f9ef;
	color: #1f8f4d;
}
.webpioneer-card-pending .webpioneer-card-icon {
	background: #fff8e8;
	color: #c58100;
}
.webpioneer-card-errors .webpioneer-card-icon {
	background: #fff0f0;
	color: #c43c35;
}
.webpioneer-card-bandwidth .webpioneer-card-icon {
	background: #ecf8ff;
	color: #0f83b7;
}
.webpioneer-card-engine .webpioneer-card-icon {
	background: #f1efff;
	color: #6b52c8;
}
.webpioneer-value {
	font-size: 24px;
	font-weight: 700;
	line-height: 1.2;
}
.webpioneer-progress {
	background: #e9ecef;
	height: 12px;
	border-radius: 99px;
	overflow: hidden;
	margin: 8px 0 14px;
}
.webpioneer-progress-bar {
	background: linear-gradient(90deg, #2b6cb0 0%, #4f8fda 100%);
	height: 100%;
	transition: width 0.25s ease;
}
.webpioneer-table {
	width: 100%;
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 10px;
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
}
.webpioneer-table th,
.webpioneer-table td {
	padding: 10px 12px;
	border-bottom: 1px solid #f0f0f1;
	text-align: left;
}
.webpioneer-table tr:last-child td {
	border-bottom: 0;
}
.webpioneer-actions {
	display: flex;
	gap: 10px;
	margin: 14px 0 0;
	flex-wrap: wrap;
	align-items: center;
}
.webpioneer-filters {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 10px;
	margin-bottom: 12px;
	align-items: end;
}
.webpioneer-filters > div {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.webpioneer-filters input,
.webpioneer-filters select {
	width: 100%;
}
.webpioneer-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
	gap: 10px;
}
.webpioneer-inspector-layout {
	display: grid;
	grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
	gap: 12px;
	align-items: start;
}
.webpioneer-folder-tree {
	border: 1px solid #d8dde3;
	border-radius: 12px;
	background: linear-gradient(180deg, #fcfdff 0%, #f7f9fc 100%);
	padding: 12px;
	position: sticky;
	top: 12px;
	max-height: 560px;
	overflow: auto;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), 0 1px 4px rgba(16, 24, 40, 0.06);
}
.webpioneer-folder-tree-title {
	font-size: 13px;
	font-weight: 600;
	color: #50575e;
	margin-bottom: 10px;
	display: flex;
	align-items: center;
	gap: 6px;
}
.webpioneer-tree-level {
	list-style: none;
	margin: 0;
	padding: 0;
}
.webpioneer-tree-level-root {
	margin-top: 2px;
}
.webpioneer-tree-level-0 {
	padding-left: 14px;
}
.webpioneer-tree-level-1 {
	padding-left: 28px;
}
.webpioneer-tree-level-2 {
	padding-left: 42px;
}
.webpioneer-tree-level-3 {
	padding-left: 56px;
}
.webpioneer-tree-row {
	display: flex;
	align-items: center;
	gap: 4px;
	border-radius: 8px;
	padding-right: 4px;
	transition: background 0.12s ease, border-color 0.12s ease;
	border: 1px solid transparent;
}
.webpioneer-tree-row:hover {
	background: #f2f6fc;
}
.webpioneer-tree-toggle,
.webpioneer-tree-spacer {
	width: 24px;
	min-width: 24px;
	height: 24px;
	text-align: center;
	font-size: 18px;
	line-height: 1;
	color: #1d2327;
	text-decoration: none !important;
}
.webpioneer-tree-toggle {
	cursor: pointer;
	border-radius: 4px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	text-decoration: none !important;
	outline-offset: 1px;
}
.webpioneer-tree-toggle:hover {
	background: #edf3ff;
	text-decoration: none !important;
}
.webpioneer-tree-toggle:focus {
	text-decoration: none !important;
	outline: 2px solid #2271b1;
}
.webpioneer-tree-toggle:focus-visible {
	outline: 2px solid #2271b1;
}
.webpioneer-toggle-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #475569;
}
.webpioneer-tree-node.is-expanded > .webpioneer-tree-row .webpioneer-chevron-right {
	display: none;
}
.webpioneer-tree-node.is-collapsed > .webpioneer-tree-row .webpioneer-chevron-down {
	display: none;
}
.webpioneer-folder-link {
	display: block;
	width: 100%;
	text-align: left;
	padding: 7px 8px;
	border-radius: 8px;
	color: #1d2327;
	text-decoration: none !important;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	font-size: 13px;
	flex: 1 1 auto;
	min-width: 0;
}
.webpioneer-folder-link:hover,
.webpioneer-folder-link:focus {
	text-decoration: none !important;
}
.webpioneer-folder-link:focus,
.webpioneer-folder-link:focus-visible,
.webpioneer-folder-link:active {
	outline: none !important;
	box-shadow: none !important;
	border: 0 !important;
}
.webpioneer-folder-link:hover {
	background: transparent;
}
.webpioneer-folder-link.is-active {
	background: transparent;
	color: #0a4b78;
	font-weight: 600;
}
.webpioneer-tree-row.is-active {
	background: #e9f1ff;
	border-color: #c9dbff;
}
.webpioneer-folder-link-main {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-width: 0;
	flex: 1 1 auto;
}
.webpioneer-folder-link-main span:last-child {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.webpioneer-folder-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #e3b341;
	flex-shrink: 0;
	width: 18px;
	height: 18px;
}
.webpioneer-folder-icon svg {
	width: 18px;
	height: 18px;
}
.webpioneer-folder-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 30px;
	padding: 2px 8px;
	border-radius: 999px;
	background: #edf2f7;
	color: #475569;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.3;
	margin-left: auto;
}
.webpioneer-folder-link.is-active .webpioneer-folder-count {
	background: #dbe8ff;
	color: #254a86;
}
.webpioneer-tree-children {
	position: relative;
}
.webpioneer-tree-children::before {
	content: "";
	position: absolute;
	left: 11px;
	top: 1px;
	bottom: 5px;
	width: 1px;
	background: #d8e0ec;
}
.webpioneer-item {
	border: 1px solid #e2e4e7;
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.webpioneer-item:hover {
	transform: translateY(-1px);
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.06);
}
.webpioneer-item img {
	width: 100%;
	height: 110px;
	object-fit: cover;
	display: block;
	background: #f6f7f7;
}
.webpioneer-item-body {
	padding: 8px;
	font-size: 12px;
}
.webpioneer-pill {
	display: inline-block;
	padding: 2px 7px;
	border-radius: 999px;
	font-size: 11px;
	margin-right: 4px;
	margin-bottom: 5px;
	background: #eef2f7;
}
.webpioneer-pill.ready {
	background: #dff6dd;
	color: #106030;
}
.webpioneer-pill.pending {
	background: #fff4cc;
	color: #7a5a00;
}
.webpioneer-pill.error {
	background: #ffe2e2;
	color: #8a1f11;
}
.webpioneer-empty {
	padding: 15px;
	border: 1px dashed #ccd0d4;
	border-radius: 8px;
	color: #646970;
}
.webpioneer-runner {
	width: 100%;
	margin-top: 12px;
}
.webpioneer-runner-top {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	align-items: center;
	margin-bottom: 8px;
}
.webpioneer-status-text {
	font-size: 12px;
	color: #50575e;
}
.webpioneer-statline {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	font-size: 12px;
	color: #2c3338;
}
.webpioneer-badge {
	padding: 4px 8px;
	border-radius: 999px;
	background: #f0f6fc;
	font-weight: 600;
}
.webpioneer-runner-actions {
	display: flex;
	gap: 8px;
	align-items: center;
	margin-left: auto;
}
.webpioneer-wrap {
	max-width: none;
	padding-right: 0;
	margin-right: 20px;
	box-sizing: border-box;
	overflow-x: hidden;
}
.webpioneer-wide {
	max-width: none !important;
}
.webpioneer-wrap,
.webpioneer-wrap * {
	box-sizing: border-box;
}
.webpioneer-wrap canvas {
	max-width: 100%;
	height: auto;
}
.webpioneer-help {
	margin: 10px 0 14px;
	padding: 10px 12px;
	background: #f0f6fc;
	border-left: 4px solid #2271b1;
	border-radius: 6px;
	width: 100%;
}
.webpioneer-brand {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 10px;
	margin: 2px 0 8px;
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 8px;
}
.webpioneer-brand img {
	display: block;
	height: 20px;
	width: auto;
}
.webpioneer-brand-rate {
	font-size: 12px;
	color: #50575e;
}
.webpioneer-brand-rate a {
	font-weight: 600;
}
.webpioneer-rating-stars {
	display: inline-flex;
	gap: 2px;
	margin-left: 4px;
	color: #f4b400;
	vertical-align: -1px;
}
.webpioneer-item-actions {
	margin-top: 6px;
	display: flex;
	gap: 6px;
}
.webpioneer-item-actions .button {
	padding: 0 8px !important;
	min-height: 24px;
	line-height: 22px;
	font-size: 11px;
}
.webpioneer-modal {
	position: fixed;
	inset: 0;
	background: rgba(15, 23, 42, 0.45);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 999999;
}
.webpioneer-modal-inner {
	background: #fff;
	width: min(680px, calc(100vw - 28px));
	border-radius: 12px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
	padding: 16px;
}
.webpioneer-modal-title {
	margin: 0 0 8px;
	font-size: 18px;
}
.webpioneer-modal-body {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 10px;
	white-space: pre-wrap;
	word-break: break-word;
	font-family: Consolas, Menlo, monospace;
	font-size: 12px;
	max-height: 300px;
	overflow: auto;
}
.webpioneer-audit {
	margin-top: 16px;
	width: 100%;
	overflow-x: auto;
}
.webpioneer-audit table {
	width: 100%;
	min-width: 680px;
	border-collapse: collapse;
	font-size: 12px;
}
.webpioneer-audit th,
.webpioneer-audit td {
	padding: 8px;
	border-bottom: 1px solid #f0f0f1;
	text-align: left;
	vertical-align: top;
}

@media (max-width: 1024px) {
	.webpioneer-hero h1 {
		font-size: 26px;
	}
}

@media (max-width: 782px) {
	.webpioneer-hero {
		padding: 10px 12px;
	}
	.webpioneer-hero h1 {
		font-size: 22px;
	}
	.webpioneer-hero-right {
		width: 100%;
	}
	.webpioneer-filters {
		grid-template-columns: 1fr;
	}
	.webpioneer-inspector-layout {
		grid-template-columns: 1fr;
	}
	.webpioneer-folder-tree {
		position: static;
		max-height: 220px;
	}
}
.webpioneer-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 4px 0 12px;
}
.webpioneer-tab {
	border: 1px solid #c3c4c7;
	background: #f6f7f7;
	color: #1d2327;
	padding: 8px 12px;
	border-radius: 8px;
	cursor: pointer;
	font-weight: 600;
}
.webpioneer-tab.is-active {
	background: #fff;
	border-color: #2271b1;
	color: #2271b1;
}
.webpioneer-tab-panel {
	display: none;
}
.webpioneer-tab-panel.is-active {
	display: block;
}
.webpioneer-notices .notice p,
.webpioneer-notices .notice strong {
	color: #1d2327 !important;
}
.webpioneer-notices {
	margin: 0 0 12px;
	clear: both;
}
.webpioneer-notices .notice {
	margin: 0 0 8px 0;
	background: #ffffff !important;
	border-color: #dcdcde !important;
}
.webpioneer-hero + .webpioneer-notices {
	position: relative;
	z-index: 2;
}
.webpioneer-hero .notice,
.webpioneer-hero .webpioneer-notices {
	display: none !important;
}
.webpioneer-message {
	margin: 0 0 8px;
	padding: 10px 12px;
	border: 1px solid #dcdcde;
	border-left-width: 4px;
	border-radius: 4px;
	background: #ffffff;
	color: #1d2327;
	position: relative;
	padding-right: 34px;
}
.webpioneer-message p {
	margin: 0;
	color: #1d2327;
}
.webpioneer-message strong {
	color: #1d2327;
}
.webpioneer-message-warning {
	border-left-color: #dba617;
	background: #fffbf0;
}
.webpioneer-message-info {
	border-left-color: #2271b1;
	background: #f0f6fc;
}
.webpioneer-message-success {
	border-left-color: #2f9d69;
	background: #ecf9f1;
}
.webpioneer-message-error {
	border-left-color: #cf5b63;
	background: #fff1f2;
}
.webpioneer-message-close {
	position: absolute;
	top: 6px;
	right: 8px;
	border: 0;
	background: transparent;
	color: #646970;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	padding: 0;
}
.webpioneer-message-close:hover,
.webpioneer-message-close:focus {
	color: #1d2327;
	outline: none;
}
.webpioneer-tab-help {
	margin: 0 0 10px;
	color: #50575e;
	font-size: 12px;
}
.webpioneer-brand-footer {
	display: inline-flex;
	margin-top: 14px;
}
.webpioneer-grid-diagnostics {
	margin-top: 8px;
}
.webpioneer-diagnostics-actions {
	margin: 10px 0 12px;
}
.webpioneer-diagnostics-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 12px;
}
.webpioneer-diagnostics-group {
	background: #fff;
	border: 1px solid #d7deea;
	border-radius: 12px;
	overflow: hidden;
}
.webpioneer-diagnostics-group-header {
	padding: 8px 12px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: #ffffff;
	background: linear-gradient(90deg, var(--wpn-brand-700) 0%, var(--wpn-brand-600) 100%);
}
.webpioneer-diagnostics-group-body {
	padding: 8px 10px 10px;
}
.webpioneer-diagnostics-table {
	width: 100%;
	border-collapse: collapse;
}
.webpioneer-diagnostics-table th,
.webpioneer-diagnostics-table td {
	padding: 7px 8px;
	border-bottom: 1px solid #edf1f6;
	vertical-align: top;
	text-align: left;
}
.webpioneer-diagnostics-table tr:last-child th,
.webpioneer-diagnostics-table tr:last-child td {
	border-bottom: 0;
}
.webpioneer-diagnostics-table th {
	width: 38%;
	font-size: 12px;
	color: #475569;
	font-weight: 600;
}
.webpioneer-diagnostics-table td {
	font-size: 12px;
	color: #1f2937;
}
.webpioneer-diagnostics-json {
	margin: 10px 0 0;
	max-height: 320px;
	overflow: auto;
	background: #0f172a;
	color: #e5e7eb;
	padding: 12px;
	border-radius: 8px;
	font-size: 12px;
	line-height: 1.5;
}
.webpioneer-code-cell {
	font-family: Consolas, Menlo, Monaco, monospace;
	word-break: break-word;
}
.webpioneer-wrap {
	--wpn-brand-700: #1e3a8a;
	--wpn-brand-600: #2563eb;
	--wpn-brand-100: #dbeafe;
	--wpn-success-bg: #e8f6ee;
	--wpn-success-fg: #1b7a46;
	--wpn-warning-bg: #fff6e6;
	--wpn-warning-fg: #9a6400;
	--wpn-neutral-bg: #eef2f7;
	--wpn-neutral-fg: #334155;
}
