.pae-shortcode-shell {
	font-family: Georgia, "Times New Roman", serif;
}

.pae-shortcode-shell .pae-toolbar,
.pae-shortcode-shell .pae-view-switcher,
.pae-shortcode-shell .pae-actions,
.pae-shortcode-shell .pae-detail-header,
.pae-shortcode-shell .pae-record-topline,
.pae-shortcode-shell .pae-record-actions,
.pae-shortcode-shell .pae-bar-meta,
.pae-shortcode-shell .pae-saved-view-row {
	display: flex;
	align-items: center;
	gap: 10px;
}

.pae-shortcode-shell {
	--pae-ink: #13242d;
	--pae-muted: #5f7581;
	--pae-line: #d8e2e6;
	--pae-panel: #f7fafb;
	--pae-card: #ffffff;
	--pae-accent: #0d7a6f;
	--pae-accent-soft: #dff4ef;
	--pae-shadow: 0 14px 40px rgba(19, 36, 45, 0.08);
	background: linear-gradient(180deg, #f7fbfc 0%, #ffffff 100%);
	border: 1px solid var(--pae-line);
	border-radius: 18px;
	box-shadow: var(--pae-shadow);
	padding: 20px;
}

.pae-shortcode-shell .pae-subtitle,
.pae-shortcode-shell .pae-muted {
	color: var(--pae-muted);
}

.pae-shortcode-shell .pae-toolbar {
	justify-content: space-between;
	margin-bottom: 20px;
	flex-wrap: wrap;
}

.pae-shortcode-shell .pae-dashboard-grid,
.pae-shortcode-shell .pae-results-table,
.pae-shortcode-shell .pae-compare-grid {
	display: grid;
	gap: 18px;
}

.pae-shortcode-shell .pae-metric-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 16px;
}

.pae-shortcode-shell .pae-metric-card,
.pae-shortcode-shell .pae-record-card,
.pae-shortcode-shell .pae-detail-panel,
.pae-shortcode-shell .pae-compare-card,
.pae-shortcode-shell .pae-sidebar,
.pae-shortcode-shell .pae-main-pane,
.pae-shortcode-shell .pae-detail-pane,
.pae-shortcode-shell .pae-bar-list {
	background: var(--pae-card);
	border: 1px solid var(--pae-line);
	border-radius: 16px;
	box-shadow: var(--pae-shadow);
	padding: 18px;
}

.pae-shortcode-shell .pae-metric-value {
	font-size: 32px;
	font-weight: 700;
}

.pae-shortcode-shell .pae-bar-row + .pae-bar-row {
	margin-top: 12px;
}

.pae-shortcode-shell .pae-bar-meta {
	justify-content: space-between;
	margin-bottom: 6px;
}

.pae-shortcode-shell .pae-bar-track {
	background: #edf4f6;
	border-radius: 999px;
	height: 9px;
	overflow: hidden;
}

.pae-shortcode-shell .pae-bar-fill {
	background: linear-gradient(90deg, var(--pae-accent) 0%, #19a18f 100%);
	height: 100%;
}

.pae-shortcode-shell .pae-database-layout {
	display: grid;
	grid-template-columns: 260px minmax(0, 1.5fr) minmax(320px, 1fr);
	gap: 18px;
}

.pae-shortcode-shell .pae-filter-field {
	display: grid;
	gap: 6px;
	margin-bottom: 10px;
}

.pae-shortcode-shell .pae-filter-field select,
.pae-shortcode-shell .pae-search {
	width: 100%;
	border: 1px solid var(--pae-line);
	border-radius: 10px;
	padding: 10px 12px;
	background: #fff;
}

.pae-shortcode-shell .pae-record-card.is-selected {
	border-color: var(--pae-accent);
}

.pae-shortcode-shell .pae-badge {
	background: var(--pae-accent-soft);
	border-radius: 999px;
	color: var(--pae-accent);
	display: inline-flex;
	font-size: 12px;
	font-weight: 700;
	padding: 6px 10px;
}

.pae-shortcode-shell .pae-tag-group {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 12px;
}

.pae-shortcode-shell .pae-detail-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px 14px;
	margin: 14px 0;
}

.pae-shortcode-shell .pae-empty-state,
.pae-shortcode-shell .pae-loading {
	padding: 48px 24px;
	text-align: center;
	background: var(--pae-panel);
	border: 1px dashed var(--pae-line);
	border-radius: 16px;
}

.pae-shortcode-shell .pae-compare-grid {
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

@media (max-width: 1080px) {
	.pae-shortcode-shell .pae-database-layout {
		grid-template-columns: 1fr;
	}
}
