.ab-officine {
	--ab-red: #ed1c24;
	--ab-ink: #131313;
	--ab-muted: #616161;
	--ab-border: #e2e7ed;
	--ab-surface: #ffffff;
	color: var(--ab-muted);
	font-family: inherit;
	width: 100%;
}
.ab-officine *, .ab-officine *::before, .ab-officine *::after { box-sizing: border-box; }
.ab-search {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
	align-items: end;
	gap: 16px;
	padding: 22px;
	background: var(--ab-surface);
	border: 1px solid var(--ab-border);
	border-radius: 8px;
}
.ab-search label, .ab-field { display: flex; flex-direction: column; gap: 7px; color: var(--ab-ink); font: inherit; }
.ab-search label > span, .ab-field > span { font-size: 14px; font-weight: 600; }
.ab-search input, .ab-search select, .ab-form input:not([type="checkbox"]), .ab-form select, .ab-form textarea {
	width: 100%;
	min-height: 48px;
	padding: 11px 13px;
	border: 1px solid var(--ab-border);
	border-radius: 5px;
	background: #fff;
	color: var(--ab-ink);
	font: inherit;
}
.ab-form select[multiple] { min-height: 122px; }
.ab-form textarea { min-height: 116px; resize: vertical; }
.ab-search input:focus, .ab-search select:focus, .ab-form input:focus, .ab-form select:focus, .ab-form textarea:focus {
	border-color: var(--ab-red);
	outline: 2px solid rgba(237, 28, 36, .22);
	outline-offset: 1px;
}
.ab-search-actions { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.ab-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 11px 20px;
	border: 1px solid transparent;
	border-radius: 4px;
	font: inherit;
	font-weight: 600;
	line-height: 1.25;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.ab-button-primary { background: var(--ab-red); color: #fff; }
.ab-button-primary:hover, .ab-button-primary:focus { background: #c9141c; color: #fff; }
.ab-button-outline { border-color: var(--ab-red); color: var(--ab-red); background: transparent; }
.ab-button-outline:hover, .ab-button-outline:focus { background: var(--ab-red); color: #fff; }
.ab-reset { color: var(--ab-muted); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.ab-results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.ab-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--ab-border); border-radius: 8px; background: #fff; transition: box-shadow .18s ease, transform .18s ease; }
.ab-card:hover { box-shadow: 0 10px 28px rgba(19, 19, 19, .08); transform: translateY(-2px); }
.ab-card-logo { display: grid; place-items: center; min-height: 126px; padding: 16px; background: #f7f9fb; }
.ab-card-logo img { display: block; width: auto; max-width: 100%; max-height: 96px; object-fit: contain; }
.ab-card-content { padding: 20px; }
.ab-card h3 { margin: 0 0 9px; color: var(--ab-ink); font-family: inherit; font-size: 20px; line-height: 1.3; }
.ab-card p { margin: 0 0 8px; color: var(--ab-muted); font: inherit; line-height: 1.6; }
.ab-card .ab-location { color: var(--ab-ink); font-weight: 600; }
.ab-tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 13px 0 16px; padding: 0; list-style: none; }
.ab-tags li { padding: 5px 9px; border-radius: 999px; background: #fff0f1; color: #b51620; font-size: 13px; line-height: 1.35; }
.ab-card-links { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 15px; }
.ab-card-links a { color: var(--ab-red); font-size: 14px; font-weight: 600; text-decoration: none; }
.ab-card-links a:hover { text-decoration: underline; }
.ab-empty, .ab-notice { margin-top: 22px; padding: 20px; border: 1px solid var(--ab-border); border-radius: 8px; background: #f7f9fb; }
.ab-empty p { margin: 0 0 14px; }
.ab-pagination { margin-top: 24px; }
.ab-pagination ul { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.ab-pagination a, .ab-pagination span { display: inline-flex; min-width: 40px; min-height: 40px; align-items: center; justify-content: center; padding: 7px 11px; border: 1px solid var(--ab-border); border-radius: 4px; color: var(--ab-ink); text-decoration: none; }
.ab-pagination .current { border-color: var(--ab-red); background: var(--ab-red); color: #fff; }
.ab-application { max-width: 100%; }
.ab-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 20px; }
.ab-field-wide { grid-column: 1 / -1; }
.ab-form small { color: var(--ab-muted); }
.ab-required { color: #c0392b; }
.ab-consent { display: flex; flex-direction: row; align-items: flex-start; gap: 10px; color: var(--ab-muted); font-size: 14px; line-height: 1.5; }
.ab-consent input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ab-red); }
.ab-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.ab-notice-success { border-color: #b6dfc1; background: #f1fbf4; color: #205b31; }
.ab-notice-error { border-color: #f2c0bd; background: #fff6f5; color: #8d2924; }
.ab-admin-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.ab-application-details { display: grid; grid-template-columns: 180px 1fr; gap: 8px 16px; }
.ab-application-details dt, .ab-application-details dd { margin: 0; }
@media (max-width: 900px) {
	.ab-search { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ab-results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	.ab-search, .ab-results, .ab-form-grid, .ab-admin-fields { grid-template-columns: 1fr; }
	.ab-search { padding: 16px; }
	.ab-search-actions { align-items: stretch; }
	.ab-field-wide { grid-column: auto; }
	.ab-application-details { grid-template-columns: 1fr; gap: 3px; }
	.ab-application-details dd { margin-bottom: 11px; }
}
@media (prefers-reduced-motion: reduce) {
	.ab-card, .ab-button { transition: none; }
}
