.fhi-wrap .fhi-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 16px;
	margin: 20px 0;
}

.fhi-dashboard-hero {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 16px;
	margin: 8px 0 6px;
}

.fhi-dashboard-hero h1 {
	margin-bottom: 8px;
}

.fhi-dashboard-hero p {
	max-width: 820px;
	margin-top: 0;
	color: #475569;
}

.fhi-dashboard-hero__meta {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 12px;
	flex: 1 1 340px;
}

.fhi-dashboard-hero__pill {
	padding: 14px 16px;
	border-radius: 14px;
	border: 1px solid #dbe4ee;
	background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.fhi-dashboard-hero__pill span,
.fhi-dashboard-hero__pill strong {
	display: block;
}

.fhi-dashboard-hero__pill span {
	margin-bottom: 6px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	color: #64748b;
	letter-spacing: 0.04em;
}

.fhi-dashboard-hero__pill strong {
	line-height: 1.35;
}

.fhi-wrap .fhi-card,
.fhi-wrap .fhi-panel {
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 10px;
	padding: 16px;
}

.fhi-wrap .fhi-card span {
	display: block;
	color: #50575e;
	margin-bottom: 6px;
}

.fhi-wrap .fhi-card strong {
	font-size: 28px;
	line-height: 1.1;
}

.fhi-wrap .fhi-cards-compact .fhi-card strong {
	font-size: 24px;
}

.fhi-dashboard-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 18px 0;
}

.fhi-dashboard-tab.is-active {
	background: #0f766e;
	border-color: #0f766e;
	color: #fff;
}

.fhi-dashboard-panel + .fhi-dashboard-panel {
	margin-top: 0;
}

.fhi-dashboard-top-cards {
	margin-bottom: 10px;
}

.fhi-section-heading {
	display: flex;
	flex-wrap: wrap;
	align-items: end;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
}

.fhi-section-heading h2,
.fhi-section-heading h3 {
	margin: 0 0 6px;
}

.fhi-section-heading p {
	margin: 0;
	color: #475569;
	max-width: 760px;
}

.fhi-section-heading--spaced {
	margin-top: 22px;
}

.fhi-inline-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.fhi-ops-strip {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 12px;
	margin: 14px 0 16px;
}

.fhi-ops-strip__item {
	padding: 12px 14px;
	border-radius: 12px;
	background: #f8fafc;
	border: 1px solid #dbe4ee;
}

.fhi-ops-strip__item strong,
.fhi-ops-strip__item span {
	display: block;
}

.fhi-ops-strip__item span {
	margin-top: 4px;
	color: #475569;
}

.fhi-editor-wrap {
	margin-top: 16px;
}

.fhi-backfill-controls {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: end;
	margin: 16px 0;
}

.fhi-backfill-controls label {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 180px;
}

.fhi-backfill-controls span {
	font-weight: 600;
}

.fhi-progress {
	height: 14px;
	border-radius: 999px;
	background: #e2e8f0;
	overflow: hidden;
	margin: 14px 0 18px;
}

.fhi-progress span {
	display: block;
	height: 100%;
	width: 0;
	background: linear-gradient(90deg, #0f766e 0%, #14b8a6 100%);
	transition: width 0.2s ease;
}

.fhi-status-line {
	font-size: 14px;
	font-weight: 600;
	margin: 8px 0 16px;
}

.fhi-progress--live {
	margin-top: 8px;
}

.fhi-live-sync-layout {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
	gap: 16px;
	align-items: start;
}

.fhi-live-sync-main,
.fhi-live-sync-side {
	min-width: 0;
}

.fhi-sync-table-wrap {
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.fhi-sync-table {
	min-width: 980px;
}

.fhi-backfill-table th {
	width: 180px;
}

.fhi-log-stream {
	margin-top: 18px;
}

#fhi-backfill-log {
	max-height: 240px;
	overflow: auto;
	padding: 12px;
	border: 1px solid #dcdcde;
	border-radius: 8px;
	background: #f8fafc;
}

#fhi-live-sync-log {
	max-height: 360px;
	overflow: auto;
	padding: 12px;
	border: 1px solid #dcdcde;
	border-radius: 8px;
	background: #f8fafc;
}

.fhi-log-line + .fhi-log-line {
	margin-top: 8px;
}

.fhi-sync-table td,
.fhi-sync-table th {
	vertical-align: top;
}

.fhi-sync-row-status {
	font-weight: 700;
}

.fhi-sync-table tr[data-sync-state="running"] td {
	background: #f0f9ff;
}

.fhi-sync-table tr[data-sync-state="done"] td {
	background: #f0fdf4;
}

.fhi-sync-table tr[data-sync-state="error"] td {
	background: #fff1f2;
}

.fhi-sync-row-result {
	word-break: break-word;
}

.fhi-sync-row-queue {
	min-width: 180px;
	font-size: 12px;
	color: #334155;
}

.fhi-live-sync-health {
	padding: 14px;
	border: 1px solid #dbe4ee;
	border-radius: 12px;
	background: #f8fafc;
}

.fhi-live-sync-health h3 {
	margin-top: 0;
	margin-bottom: 12px;
}

.fhi-dashboard-shortcuts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 10px;
}

.fhi-dashboard-shortcut {
	display: block;
	padding: 12px;
	border-radius: 12px;
	border: 1px solid #dbe4ee;
	background: #fff;
	text-decoration: none;
	color: inherit;
	transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.fhi-dashboard-shortcut:hover,
.fhi-dashboard-shortcut:focus {
	transform: translateY(-1px);
	border-color: #0f766e;
	box-shadow: 0 6px 18px rgba(15, 118, 110, 0.08);
}

.fhi-dashboard-shortcut__label,
.fhi-dashboard-shortcut__count,
.fhi-dashboard-shortcut__description {
	display: block;
}

.fhi-dashboard-shortcut__label {
	font-size: 13px;
	font-weight: 700;
	color: #0f172a;
}

.fhi-dashboard-shortcut__count {
	margin: 6px 0;
	font-size: 24px;
	line-height: 1.1;
}

.fhi-dashboard-shortcut__description {
	color: #475569;
	line-height: 1.35;
}

.fhi-live-sync-help {
	margin-top: 16px;
	padding: 14px;
	border: 1px solid #dbe4ee;
	border-radius: 12px;
	background: #f8fafc;
}

.fhi-live-sync-help h3 {
	margin-top: 0;
}

.fhi-live-sync-help ul {
	margin: 0;
	padding-left: 18px;
}

.fhi-item-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: end;
}

.fhi-item-filters label {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 180px;
}

.fhi-item-filters span {
	font-weight: 600;
}

.fhi-source-category-tools {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin: 10px 0 12px;
}

.fhi-source-category-values {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 12px;
	margin-bottom: 12px;
}

.fhi-source-category-values label {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.fhi-source-category-browser {
	border: 1px solid #dbe4ee;
	border-radius: 12px;
	background: #f8fafc;
	padding: 12px;
	max-height: 420px;
	overflow: auto;
}

.fhi-source-category-empty {
	color: #475569;
}

.fhi-source-category-list {
	display: grid;
	gap: 8px;
}

.fhi-source-category-list__head,
.fhi-source-category-row {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(140px, 1fr) 70px 70px;
	gap: 12px;
	align-items: center;
}

.fhi-source-category-list__head {
	padding: 0 0 6px;
	border-bottom: 1px solid #dbe4ee;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	color: #64748b;
}

.fhi-source-category-row {
	padding: 10px 0;
	border-bottom: 1px solid #e5e7eb;
}

.fhi-source-category-row:last-child {
	border-bottom: 0;
}

.fhi-source-category-row span strong,
.fhi-source-category-row span small {
	display: block;
}

.fhi-source-category-row span small {
	margin-top: 4px;
	color: #64748b;
}

.fhi-source-category-row code {
	word-break: break-word;
}

@media (max-width: 960px) {
	.fhi-live-sync-layout {
		grid-template-columns: 1fr;
	}

	.fhi-dashboard-hero {
		flex-direction: column;
	}
}

.fhi-quick-views {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 14px;
}

.fhi-compare-panel {
	margin-bottom: 18px;
}

.fhi-compare-panel__header {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: start;
	gap: 12px;
	margin-bottom: 14px;
}

.fhi-compare-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 14px;
}

.fhi-compare-card {
	padding: 16px;
	border: 1px solid #dbe4ee;
	border-radius: 14px;
	background: #fff;
}

.fhi-compare-card__eyebrow {
	margin-bottom: 8px;
	color: #475569;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.fhi-compare-card h3 {
	margin: 0 0 10px;
	line-height: 1.35;
}

.fhi-compare-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 12px;
	margin-bottom: 12px;
	font-size: 13px;
	color: #334155;
}

.fhi-compare-card__image img {
	width: 100%;
	max-height: 220px;
	object-fit: cover;
	border-radius: 12px;
	border: 1px solid #dcdcde;
	display: block;
	margin-bottom: 12px;
}

.fhi-compare-card__stats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin-bottom: 12px;
}

.fhi-compare-card__stats div {
	padding: 10px;
	border-radius: 10px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
}

.fhi-compare-card__stats strong,
.fhi-compare-card__stats span {
	display: block;
}

.fhi-compare-card__stats span {
	margin-top: 4px;
	font-weight: 700;
}

.fhi-compare-card__flag {
	padding: 10px 12px;
	margin-bottom: 12px;
	border-radius: 10px;
	background: #fff7ed;
	border: 1px solid #fdba74;
	color: #7c2d12;
	font-size: 13px;
	font-weight: 600;
}

.fhi-compare-card__excerpt {
	margin: 0 0 12px;
	color: #334155;
}

.fhi-compare-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.fhi-flags-stack > * + * {
	margin-top: 8px;
}

.fhi-flag-chip {
	display: inline-block;
	padding: 6px 10px;
	border-radius: 999px;
	background: #e2e8f0;
	color: #0f172a;
	font-size: 12px;
	font-weight: 700;
}

.fhi-duplicate-flag {
	padding: 10px 12px;
	border-radius: 10px;
	border: 1px solid #e2e8f0;
	background: #f8fafc;
}

.fhi-duplicate-flag strong {
	display: block;
	margin-bottom: 4px;
}

.fhi-duplicate-flag small {
	display: block;
	margin-top: 4px;
	color: #475569;
}

.fhi-duplicate-breakdown {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 6px;
	margin: 8px 0;
	font-size: 12px;
	color: #334155;
}

.fhi-duplicate-breakdown span {
	display: block;
	padding: 8px;
	border-radius: 8px;
	background: rgba(255,255,255,0.72);
}

.fhi-duplicate-titles {
	display: grid;
	gap: 8px;
	margin: 8px 0;
}

.fhi-duplicate-titles div {
	padding: 8px;
	border-radius: 8px;
	background: rgba(255,255,255,0.72);
}

.fhi-duplicate-titles span,
.fhi-duplicate-titles strong {
	display: block;
}

.fhi-duplicate-titles span {
	margin-bottom: 3px;
	font-size: 11px;
	text-transform: uppercase;
	color: #64748b;
}

.fhi-duplicate-titles strong {
	line-height: 1.35;
	word-break: break-word;
}

.fhi-duplicate-reason {
	margin: 8px 0;
	font-size: 12px;
	color: #7c2d12;
}

.fhi-duplicate-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 10px 0 6px;
}

.fhi-duplicate-actions .button {
	margin: 0;
}

.fhi-duplicate-flag.is-low {
	background: #fff7ed;
	border-color: #fdba74;
}

.fhi-duplicate-flag.is-mid {
	background: #ffedd5;
	border-color: #fb923c;
}

.fhi-duplicate-flag.is-high {
	background: #fee2e2;
	border-color: #f87171;
}

.fhi-duplicate-flag.is-critical {
	background: #fecaca;
	border-color: #dc2626;
	box-shadow: inset 0 0 0 1px rgba(127, 29, 29, 0.25);
}

.fhi-duplicate-flag.is-suspect {
	background: #fefce8;
	border-color: #fde68a;
}

.fhi-duplicate-status {
	font-weight: 700;
}

.fhi-filter-actions {
	display: flex;
	gap: 8px;
	align-items: end;
}

.fhi-filter-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.fhi-bulk-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin: 0 0 12px;
}

.fhi-bulk-note {
	color: #50575e;
}

.fhi-manage-table td,
.fhi-manage-table th {
	vertical-align: top;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.fhi-manage-table th {
	white-space: nowrap;
	overflow-wrap: normal;
	word-break: normal;
}

.fhi-manage-table {
	table-layout: fixed;
	width: 100%;
}

.fhi-manage-table-wrap {
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.fhi-col-select {
	width: 24px;
	text-align: center;
}

.fhi-manage-table th.fhi-col-select,
.fhi-manage-table td.fhi-col-select {
	padding-left: 4px;
	padding-right: 4px;
}

.fhi-col-select input[type="checkbox"] {
	margin: 0;
}

.fhi-col-image {
	width: 210px;
}

.fhi-col-offer {
	width: 36%;
	min-width: 0;
}

.fhi-col-status {
	width: 90px;
}

.fhi-col-flags {
	width: 30%;
	min-width: 340px;
}

.fhi-col-actions {
	width: 170px;
}

.fhi-image-actions {
	margin-top: 10px;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.fhi-image-actions .button {
	margin: 0;
}

.fhi-image-dates {
	margin-top: 10px;
}

.fhi-date-stack {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.fhi-date-block {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	column-gap: 8px;
	padding: 6px 8px;
	border-radius: 8px;
	border: 1px solid #dbeafe;
	background: #eff6ff;
	line-height: 1.2;
}

.fhi-date-block strong {
	font-size: 10px;
	text-transform: uppercase;
	color: #1d4ed8;
	letter-spacing: 0.02em;
	white-space: nowrap;
}

.fhi-date-block span {
	font-size: 11px;
	color: #0f172a;
	overflow-wrap: anywhere;
}

.fhi-date-block.is-updated {
	border-color: #ddd6fe;
	background: #f5f3ff;
}

.fhi-date-block.is-updated strong {
	color: #6d28d9;
}

.fhi-date-block.is-source {
	border-color: #fde68a;
	background: #fffbeb;
}

.fhi-date-block.is-source strong {
	color: #a16207;
}

.fhi-date-block.is-same-day {
	border-color: #99f6e4;
	background: #f0fdfa;
}

.fhi-date-block.is-same-day strong {
	color: #0f766e;
}

.fhi-category-stack {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.fhi-category-item {
	display: block;
	font-size: 12px;
	line-height: 1.25;
}

@media (min-width: 783px) {
	.fhi-manage-table {
		table-layout: auto;
	}

	.fhi-manage-table th:nth-child(4),
	.fhi-manage-table td:nth-child(4) {
		min-width: 320px;
	}

	.fhi-manage-table th:nth-child(5),
	.fhi-manage-table td:nth-child(5) {
		min-width: 150px;
		white-space: nowrap;
		overflow-wrap: normal;
		word-break: normal;
	}

	.fhi-col-status {
		min-width: 92px;
		white-space: nowrap;
		overflow-wrap: normal;
		word-break: normal;
	}
}

@media (max-width: 1600px) and (min-width: 783px) {
	.fhi-manage-table-wrap .fhi-manage-table {
		min-width: 1160px;
	}
}

@media (max-width: 1180px) {
	.fhi-manage-table {
		font-size: 12px;
	}

	.fhi-manage-table th,
	.fhi-manage-table td {
		padding: 6px;
	}

	.fhi-col-image {
		width: 180px;
	}

	.fhi-item-thumb {
		width: 92px;
		height: 62px;
	}

	.fhi-col-offer {
		width: 38%;
	}

	.fhi-col-status {
		width: 76px;
	}

	.fhi-col-flags {
		width: 28%;
		min-width: 240px;
	}

	.fhi-col-actions {
		width: 140px;
	}
}

.fhi-pagination-panel {
	margin-top: 16px;
}

.fhi-pagination-links .page-numbers {
	display: inline-block;
	padding: 6px 10px;
	margin-right: 6px;
	border: 1px solid #dcdcde;
	border-radius: 6px;
	text-decoration: none;
	background: #fff;
}

.fhi-pagination-links .current {
	background: #0f766e;
	color: #fff;
	border-color: #0f766e;
}

.fhi-advanced-panel {
	margin-top: 18px;
	border-top: 1px solid #e5e7eb;
	padding-top: 14px;
}

.fhi-advanced-panel summary {
	cursor: pointer;
	font-weight: 700;
	margin-bottom: 12px;
}

.fhi-backfill-panel.is-compact {
	padding: 12px;
	background: #f8fafc;
}

.fhi-backfill-panel.is-compact h2 {
	margin-top: 0;
	font-size: 18px;
}

.fhi-image-tools {
	margin: 10px 0 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.fhi-image-preview {
	margin-top: 12px;
}

.fhi-image-preview img {
	max-width: 220px;
	height: auto;
	border-radius: 10px;
	border: 1px solid #dcdcde;
	display: block;
}

.fhi-item-thumb {
	width: 130px;
	height: 86px;
	object-fit: cover;
	border-radius: 10px;
	border: 1px solid #dcdcde;
	display: block;
}

.fhi-offer-links {
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px solid #e5e7eb;
	max-width: 100%;
	overflow: hidden;
}

.fhi-offer-title {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.fhi-offer-compare {
	margin-top: 8px;
}

.fhi-offer-links strong {
	display: block;
	margin-bottom: 8px;
}

.fhi-offer-link {
	margin-bottom: 8px;
	padding: 8px 10px;
	border-radius: 8px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	overflow: hidden;
}

.fhi-offer-link.is-source {
	background: #fef2f2;
	border-color: #fecaca;
}

.fhi-offer-link.is-affiliate {
	background: #fffbeb;
	border-color: #fde68a;
}

.fhi-offer-link__label {
	display: block;
	font-weight: 600;
	margin-bottom: 4px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.fhi-offer-link code {
	display: block;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 12px;
}

.fhi-offer-link__flag {
	display: inline-block;
	margin-top: 6px;
	padding: 3px 8px;
	border-radius: 999px;
	background: #fee2e2;
	color: #991b1b;
	font-size: 12px;
	font-weight: 700;
}

.fhi-offer-link__flag.is-affiliate {
	background: #fef3c7;
	color: #92400e;
}

.fhi-offer-links-more {
	margin-top: 8px;
}

.fhi-offer-links-more summary {
	cursor: pointer;
	font-weight: 700;
	color: #0f766e;
}

.fhi-link-manager {
	margin-top: 18px;
	padding: 18px;
	border: 1px solid #dcdcde;
	border-radius: 12px;
	background: #f8fafc;
}

.fhi-link-manager__header h3 {
	margin: 0 0 6px;
}

.fhi-link-manager__header p {
	margin: 0 0 14px;
	color: #50575e;
}

.fhi-link-manager__tools {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: end;
	margin-bottom: 14px;
}

.fhi-link-manager__tools label {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 220px;
}

.fhi-link-manager__tools span {
	font-weight: 600;
}

.fhi-link-table td,
.fhi-link-table th {
	vertical-align: top;
}

.fhi-link-input {
	font-family: Consolas, Monaco, monospace;
}

.fhi-link-flag {
	display: inline-block;
	padding: 4px 8px;
	border-radius: 999px;
	background: #e2e8f0;
	color: #0f172a;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
}

.fhi-link-flag.is-affiliate {
	background: #fef3c7;
	color: #92400e;
}

.fhi-link-flag.is-source {
	background: #fee2e2;
	color: #991b1b;
}

.fhi-link-flag.is-empty {
	background: #fee2e2;
	color: #991b1b;
}

.fhi-modal-open {
	overflow: hidden;
}

.fhi-editor-modal {
	position: fixed;
	inset: 0;
	background: rgba(15, 23, 42, 0.55);
	z-index: 9999;
	padding: 40px;
}

.fhi-editor-modal.is-loading::after {
	content: "Loading editor...";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: rgba(15, 23, 42, 0.82);
	color: #fff;
	padding: 10px 14px;
	border-radius: 999px;
	font-weight: 600;
	z-index: 10000;
}

.fhi-editor-modal__dialog {
	position: relative;
	background: #fff;
	border-radius: 14px;
	width: min(1200px, 100%);
	height: min(86vh, 900px);
	margin: 0 auto;
	box-shadow: 0 24px 80px rgba(15, 23, 42, 0.28);
	overflow: hidden;
}

.fhi-editor-modal__close {
	position: absolute;
	top: 10px;
	right: 14px;
	z-index: 2;
	padding: 8px 10px;
}

.fhi-editor-modal iframe {
	width: 100%;
	height: 100%;
	border: 0;
	background: #fff;
}

.fhi-modal-editor-page {
	max-width: 1180px;
	margin: 20px auto 0;
}

.fhi-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
}

.fhi-grid-card {
	border: 1px solid #dcdcde;
	border-radius: 12px;
	padding: 14px;
	background: #fff;
}

.fhi-grid-card img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 8px;
	margin-bottom: 12px;
}

@media (max-width: 782px) {
	.fhi-bulk-bar {
		align-items: stretch;
	}

	.fhi-bulk-bar label,
	.fhi-bulk-bar select,
	.fhi-bulk-bar .button {
		width: 100%;
	}

	.fhi-manage-table {
		display: block;
		width: 100%;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.fhi-manage-table thead th:nth-child(4),
	.fhi-manage-table tbody td:nth-child(4) {
		display: none;
	}

	.fhi-col-select {
		width: 28px;
	}

	.fhi-col-image {
		width: 120px;
	}

	.fhi-item-thumb {
		width: 78px;
		height: 56px;
		border-radius: 8px;
	}

	.fhi-col-offer {
		width: auto;
	}

	.fhi-col-flags {
		min-width: 180px;
	}

	.fhi-offer-links {
		margin-top: 8px;
		padding-top: 8px;
	}

	.fhi-offer-link {
		padding: 6px 8px;
	}

	.fhi-link-manager__tools {
		flex-direction: column;
		align-items: stretch;
	}

	.fhi-link-manager__tools label {
		min-width: 0;
	}

	.fhi-image-actions {
		margin-top: 8px;
	}
}
