.fd-market {
	--market-border: var(--fd-line, #dbe7df);
	--market-green: var(--fd-green-dark, #0b543d);
	--market-surface: #f3f8f4;
	min-width: 0;
	overflow-wrap: anywhere;
}

.fd-market-single { padding-block: clamp(24px, 5vw, 68px); }
.fd-market-card {
	min-width: 0;
	padding: clamp(14px, 3vw, 24px);
	border: 1px solid var(--market-border, #dbe7df);
	border-radius: 14px;
	background: #fff;
}
.fd-market-card > :first-child { margin-top: 0; }
.fd-market-card > :last-child { margin-bottom: 0; }
.fd-market-card h2, .fd-market-card h3 { margin: 8px 0; font-size: 1.2rem; line-height: 1.3; }
.fd-market-card h1 { line-height: 1.08; }
.fd-market-card p { margin: 8px 0; }
.fd-market-single > :is(article, section, nav, div), .fd-market > :is(nav, section, form, .fd-market-list) { margin-block: 16px; }
.fd-market-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 14px; }
.fd-market-list { display: grid; gap: 12px; }
.fd-market-identity, .fd-market-meta, .fd-market-actions, .fd-market-tabs, .fd-market-pagination { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.fd-market-identity { font-weight: 750; }
.fd-market-logo { width: 36px; height: 36px; object-fit: contain; border: 1px solid #dbe7df; border-radius: 8px; }
.fd-market-meta, .fd-market-card small { font-size: .86rem; color: #506158; }
.fd-market-chip { display: inline-flex; align-items: center; background: #e9f4eb; padding: 3px 9px; border-radius: 6px; color: #0b543d; font-size: .78rem; font-weight: 750; }
.fd-market-tabs a, .fd-market-pagination a, .fd-market-pagination .current { padding: 6px 12px; border: 1px solid var(--market-border, #dbe7df); border-radius: 7px; }
.fd-market-tabs [aria-current="page"], .fd-market-pagination .current { background: var(--market-green, #0b543d); color: #fff; }
.fd-market-tabs a:focus-visible, .fd-market-card :is(input, select, textarea, button, summary):focus-visible { outline: 2px solid #13795b; outline-offset: 2px; }
.fd-market-form { display: grid; gap: 12px; max-width: 700px; margin-block: 12px; }
.fd-market-actions .fd-market-form { display: inline-flex; margin: 0; }
.fd-market-form button { justify-self: start; cursor: pointer; }
.fd-market-form label, .fd-market-filters label { display: grid; gap: 4px; min-width: 0; font-weight: 650; }
.fd-market-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; padding: 14px; border-radius: 12px; background: var(--market-surface); }
.fd-market-filters label { flex: 1 1 145px; }
.fd-market-form :is(input:not([type="checkbox"]), textarea, select), .fd-market-filters :is(input, select) {
	width: 100%;
	min-width: 0;
	min-height: 42px;
	padding: 8px 11px;
	color: #14221e;
	background: #fff;
	border: 1px solid #ccd9cf;
	border-radius: 8px;
}
.fd-market-form textarea { resize: vertical; }
.fd-market-form .fd-market-check { display: flex; align-items: flex-start; gap: 8px; }
.fd-market-form .fd-market-check input { margin-top: .4em; }
.fd-market-form .fd-market-trap { display: none; }
.fd-market-form input[type="hidden"] { display: none; }
.fd-market-notice { padding: 9px 12px; border-left: 3px solid #13795b; background: #edf6ef; }
.fd-market-child { margin-inline-start: clamp(8px, 4vw, 36px); }
.fd-market-reply { margin-block: 8px; }
.fd-market-reply small, .fd-business-message small { display: block; }
.fd-business-message > div { margin-block: 8px; white-space: normal; }
.fd-business-own { background: var(--market-surface); }
.fd-market-card details summary { width: fit-content; color: #0b543d; cursor: pointer; }
#fd-contact-company, #fd-market-inquiry, #fd-market-replies { scroll-margin-top: 96px; }

@media (max-width: 600px) {
	.fd-market-filters { padding: 10px; }
	.fd-market-grid { grid-template-columns: 1fr; }
	.fd-market-single { width: min(100% - 24px, 1200px); }
}
