/* ERBIAS V42 — unobtrusive Turnstile status, matching the site’s cards and inputs. */
.turnstile-area{position:relative;display:flex;align-items:center;gap:11px;min-width:0;margin:6px 0 16px;padding:12px 14px;border:1px solid #dce8f3;border-radius:14px;background:linear-gradient(105deg,#f7fbff 0%,#fff 100%);color:#214768;box-sizing:border-box;max-width:100%}
.turnstile-indicator{flex:none;width:36px;height:36px;display:grid;place-items:center;border-radius:11px;background:#e7f2ff;color:#1767ae}
.turnstile-indicator svg{width:20px;height:20px;display:block}
.turnstile-copy{display:flex;flex-direction:column;gap:1px;min-width:0;line-height:1.35}
.turnstile-copy strong{font-weight:700;font-size:13px;color:#1c3854}
.turnstile-copy small{font-size:11px;font-weight:500;color:#71849b}
.turnstile-slot{position:absolute;left:0;top:0;width:1px;height:1px;pointer-events:none;overflow:visible;z-index:1}
.turnstile-missing,.turnstile-error{display:block;flex-basis:100%;color:#a12f46;font-size:12px;line-height:1.4;margin:0}
.turnstile-area:has(.turnstile-missing),.turnstile-area:has(.turnstile-error){flex-wrap:wrap;border-color:#edc7cb;background:#fff9f9}
@media(max-width:600px){.turnstile-area{padding:11px 12px;margin:6px 0 14px}.turnstile-indicator{width:32px;height:32px}.turnstile-copy strong{font-size:12px}}
/* V43: real client verification progress; no claim of server acceptance before response. */
.turnstile-area .turnstile-status{display:block;margin-top:3px;font-size:11px;line-height:1.45;color:#637b91;font-weight:500}
.turnstile-area[data-status="checking"] .turnstile-indicator,
.turnstile-area[data-status="sending"] .turnstile-indicator{background:#e8f3ff;color:#1f72b6}
.turnstile-area[data-status="checking"] .turnstile-indicator svg,
.turnstile-area[data-status="sending"] .turnstile-indicator svg{animation:erbias-check-pulse 1s ease-in-out infinite}
.turnstile-area[data-status="passed"] .turnstile-indicator{background:#e4f7ef;color:#188056}
.turnstile-area[data-status="failed"],.turnstile-area[data-status="missing"]{border-color:#f0cbd3;background:#fffafa}
.turnstile-area[data-status="failed"] .turnstile-indicator,.turnstile-area[data-status="missing"] .turnstile-indicator{background:#ffe9ee;color:#b53b53}
@keyframes erbias-check-pulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.5;transform:scale(.87)}}
@media(prefers-reduced-motion:reduce){.turnstile-area .turnstile-indicator svg{animation:none!important}}
.turnstile-area[data-status="checking"] .turnstile-indicator::before,.turnstile-area[data-status="sending"] .turnstile-indicator::before{content:"";width:19px;height:19px;border:2px solid #b9d7f4;border-top-color:#1872b8;border-radius:50%;animation:erbias-turnstile-spin .8s linear infinite}
.turnstile-area[data-status="checking"] .turnstile-indicator svg,.turnstile-area[data-status="sending"] .turnstile-indicator svg{display:none}
@keyframes erbias-turnstile-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.turnstile-area[data-status="checking"] .turnstile-indicator::before,.turnstile-area[data-status="sending"] .turnstile-indicator::before{animation:none;border-style:dashed}}

/* Allow Turnstile to display an interactive challenge when needed. */
.turnstile-area:has(.turnstile-slot iframe){flex-wrap:wrap}
.turnstile-slot{position:relative;left:auto;top:auto;width:auto;height:auto;min-height:0;overflow:visible;pointer-events:auto;flex-basis:100%;z-index:2}
.turnstile-slot:empty{display:none}

/* V47 — visible, single-line label/explanation/status in both forms. */
.turnstile-area{width:100%;max-width:100%;min-width:0;flex-wrap:wrap;align-items:center;gap:10px}
.turnstile-area .turnstile-copy{display:flex;flex:1 1 0%;width:auto;max-width:none;min-width:0;overflow:visible;flex-direction:column;gap:2px;line-height:1.25}
.turnstile-area .turnstile-copy strong,
.turnstile-area .turnstile-copy small,
.turnstile-area .turnstile-copy .turnstile-status{display:block;overflow:visible;text-overflow:clip;white-space:nowrap;max-width:none;min-width:0;overflow-wrap:normal;word-break:normal}
.turnstile-area .turnstile-provider{font-size:11px;color:#526f8a;font-weight:650}
.turnstile-area .turnstile-explainer{font-size:11px;color:#637b91;font-weight:500}
.turnstile-area .turnstile-status{font-size:11px;margin-top:2px}
.turnstile-area .turnstile-slot{flex-basis:100%}
@media(max-width:600px){
 .turnstile-area{gap:8px;padding:10px 10px}
 .turnstile-indicator{width:30px;height:30px;border-radius:9px}
 .turnstile-area .turnstile-copy{gap:2px}
 .turnstile-area .turnstile-copy strong{font-size:11px}
 .turnstile-area .turnstile-copy .turnstile-provider{font-size:10px}
 .turnstile-area .turnstile-copy .turnstile-explainer{font-size:clamp(8px,2.65vw,11px);letter-spacing:-.15px}
 .turnstile-area .turnstile-copy .turnstile-status{font-size:clamp(8px,2.65vw,11px)}
}
@media(max-width:355px){.turnstile-area{gap:6px;padding:9px 7px}.turnstile-indicator{width:25px;height:25px}.turnstile-area .turnstile-copy .turnstile-explainer{font-size:8px;letter-spacing:-.25px}}

/* V48 — one live status, no duplicate static description; responsive, single-line rows. */
.turnstile-area{display:flex;align-items:center;gap:10px;min-width:0;max-width:100%;box-sizing:border-box}
.turnstile-area .turnstile-copy{flex:1 1 0;min-width:0;display:grid;grid-template-columns:max-content minmax(0,1fr);align-items:baseline;column-gap:8px;row-gap:3px;width:auto;max-width:100%;overflow:visible}
.turnstile-area .turnstile-copy strong{grid-column:1;font-size:12px;white-space:nowrap}
.turnstile-area .turnstile-provider{grid-column:2;font-size:10px;white-space:nowrap;min-width:0}
.turnstile-area .turnstile-copy .turnstile-status{grid-column:1 / -1;display:block;margin:0;white-space:nowrap;font-size:clamp(9px,2.55vw,11px);letter-spacing:-.1px;min-width:0;max-width:100%;overflow:visible}
@media(max-width:410px){
 .turnstile-area{gap:7px;padding:10px 9px}
 .turnstile-indicator{width:27px;height:27px;flex:none}
 .turnstile-area .turnstile-copy{column-gap:6px}
 .turnstile-area .turnstile-copy strong{font-size:10px}
 .turnstile-area .turnstile-provider{font-size:9px}
 .turnstile-area .turnstile-copy .turnstile-status{font-size:clamp(8px,2.45vw,10px)}
}
@media(max-width:330px){
 .turnstile-area{padding:8px 6px;gap:5px}
 .turnstile-indicator{width:23px;height:23px}
 .turnstile-area .turnstile-copy{column-gap:4px}
 .turnstile-area .turnstile-copy strong{font-size:9px}
 .turnstile-area .turnstile-provider{font-size:8px}
 .turnstile-area .turnstile-copy .turnstile-status{font-size:8px;letter-spacing:-.2px}
}

/* V51 — inline Cloudflare interaction inside the existing ERBIAS security card. */
.turnstile-area{overflow:visible}
.turnstile-area .turnstile-slot{display:block;flex:0 0 100%;width:100%;min-width:0;max-width:100%;box-sizing:border-box;overflow:visible}
.turnstile-area:not(.turnstile-interactive) .turnstile-slot{height:0;min-height:0;max-height:0;overflow:visible}
.turnstile-area.turnstile-interactive{border-color:#a8c8e6;background:linear-gradient(110deg,#f4faff,#fff);box-shadow:0 0 0 2px rgba(45,126,197,.08)}
.turnstile-area.turnstile-interactive .turnstile-slot{height:auto;max-height:none;padding:10px 0 2px;margin:2px 0 0;border-top:1px solid #e0ecf6}
.turnstile-area.turnstile-interactive .turnstile-status{color:#225d91;font-weight:650}
.turnstile-area .turnstile-slot iframe{max-width:100%}
@media(max-width:375px){.turnstile-area.turnstile-interactive .turnstile-slot{display:flex;justify-content:center}}

/* V52 — compact Cloudflare challenge in a clean white ERBIAS panel.
   The third-party challenge iframe itself cannot be restyled. */
.turnstile-area.turnstile-interactive{
 background:#fff;border-color:#c8ddec;box-shadow:0 4px 16px rgba(23,92,151,.06);
}
.turnstile-area.turnstile-interactive .turnstile-slot{
 display:flex;align-items:center;justify-content:flex-start;
 background:#fff;border-top:1px solid #e7eef5;
 border-radius:0;padding:12px 0 2px;min-width:0;max-width:100%;
}
.turnstile-area.turnstile-interactive .turnstile-slot iframe{
 display:block;max-width:100%;border:0;border-radius:8px;
}
@media(max-width:600px){
 .turnstile-area.turnstile-interactive .turnstile-slot{justify-content:center;padding:10px 0 2px}
}

/* V53: Invisible mode (configured in Cloudflare dashboard) has no visual footprint.
   Keep iframe mounted for execution and token generation; do not use display:none.
   A misconfigured Managed widget can still reveal its interaction via callback. */
.turnstile-area:not(.turnstile-interactive) .turnstile-slot{position:absolute!important;left:0!important;top:0!important;width:1px!important;height:1px!important;max-width:1px!important;max-height:1px!important;min-height:0!important;flex:0 0 1px!important;padding:0!important;margin:0!important;border:0!important;overflow:hidden!important;pointer-events:none!important;}
.turnstile-area.turnstile-interactive .turnstile-slot{position:relative!important;left:auto!important;top:auto!important;width:100%!important;height:auto!important;max-width:100%!important;max-height:none!important;overflow:visible!important;pointer-events:auto!important;}


/* V57 — consistent compact status card in modal and contact form.
   Overrides legacy narrow-screen one-line grid rules without changing the challenge. */
.turnstile-area .turnstile-copy{
 display:flex; flex:1 1 180px; flex-direction:column; align-items:flex-start;
 gap:4px; min-width:0; width:auto; max-width:100%; line-height:1.4;
}
.turnstile-area .turnstile-copy strong{
 display:block; font-size:13px; font-weight:700; line-height:1.35;
 white-space:normal; overflow-wrap:anywhere;
}
.turnstile-area .turnstile-copy .turnstile-provider{
 display:block; font-size:11px; font-weight:600; line-height:1.4;
 white-space:normal; overflow-wrap:anywhere;
}
.turnstile-area .turnstile-copy .turnstile-status{
 display:block; font-size:11px; line-height:1.5; margin:1px 0 0;
 white-space:normal; overflow-wrap:anywhere; letter-spacing:normal;
}
@media(max-width:600px){
 .turnstile-area{gap:10px; padding:12px; align-items:flex-start}
 .turnstile-area .turnstile-indicator{flex:0 0 32px; width:32px; height:32px}
 .turnstile-area .turnstile-copy{flex:1 1 0; gap:3px; min-width:0}
 .turnstile-area .turnstile-copy strong{font-size:12px}
 .turnstile-area .turnstile-copy .turnstile-provider,
 .turnstile-area .turnstile-copy .turnstile-status{font-size:11px}
}
