/**
 * Plugin-side CSS — only the rules that the theme CSS depends on but that
 * must work even if the theme is swapped. The theme also ships a more
 * complete `industrial.css` with the same class names so visuals match.
 */

.jalm-form { display: flex; flex-direction: column; gap: 1rem; max-width: 720px; }
.jalm-form__field { display: flex; flex-direction: column; gap: 0.375rem; }
.jalm-form__label { font-size: 0.8125rem; font-weight: 600; }
.jalm-form__required { color: #38bdf8; margin-left: 0.125rem; }
.jalm-form input[type="text"],
.jalm-form input[type="email"],
.jalm-form input[type="tel"],
.jalm-form input[type="url"],
.jalm-form select,
.jalm-form textarea {
	width: 100%;
	padding: 0.75rem 0.875rem;
	border-radius: 0.5rem;
	font-family: inherit;
	font-size: 0.9375rem;
}
.jalm-form textarea { min-height: 130px; resize: vertical; }
.jalm-form__hint { font-size: 0.75rem; opacity: 0.75; }
.jalm-form__error { font-size: 0.8125rem; color: #f87171; }
.jalm-form__honeypot { position: absolute !important; left: -10000px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }
.jalm-form__submit-row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-top: 0.5rem; }
.jalm-form__submit { display: inline-flex; align-items: center; padding: 0.875rem 1.5rem; border: 0; border-radius: 0.625rem; font-size: 0.9375rem; font-weight: 600; cursor: pointer; }
.jalm-form__success { padding: 1rem 1.25rem; border-radius: 0.625rem; }
.jalm-form__notice-error { padding: 0.75rem 1rem; border-radius: 0.625rem; margin-bottom: 1rem; }

.jalm-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.jalm-grid__card { padding: 1.5rem; border-radius: 0.75rem; }
.jalm-grid__tag { display: inline-block; font-size: 0.6875rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 0.5rem; }

.jalm-twin { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 0.75rem; }
.jalm-twin iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.jalm-twin__placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 0.5rem; padding: 2rem; text-align: center; }
.jalm-twin__disclosure { font-size: 0.75rem; margin-top: 0.75rem; max-width: 65ch; opacity: 0.7; }
