:root,:host,.izi-guard-surface-root{--izi-guard-text:#31445a;--izi-guard-muted:#7a899c;--izi-guard-border:#dce6f0;--izi-guard-bg:#fff;--izi-guard-accent:#256fac;--izi-guard-success:#16804a;--izi-guard-warning:#9a6500;--izi-guard-danger:#b42318}
:host{box-sizing:border-box;max-width:100%;min-width:0;min-inline-size:0;color-scheme:light dark}
.izi-guard-surface-root{all:initial;box-sizing:border-box;display:block;width:100%;max-width:100%;min-width:0;color:var(--izi-guard-text);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.2;text-align:start;direction:inherit;color-scheme:inherit}
.izi-guard-surface-root[data-kind="badge"]{display:inline-block;width:auto}
.izi-guard-surface-root *,.izi-guard-surface-root *::before,.izi-guard-surface-root *::after{box-sizing:border-box}
.izi-guard-hp-wrap{position:absolute!important;inset-inline-start:-10000px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important;opacity:0!important;pointer-events:none!important}
.izi-guard-status{box-sizing:border-box;font:inherit;font-size:.875rem;line-height:1.4;margin:.55rem 0 0;padding:.58rem .7rem;border:1px solid #f0c9c6;border-radius:.6rem;color:var(--izi-guard-danger);background:#fff7f6}.izi-guard-status[hidden]{display:none!important}

/* Compact trust state. Brand is shown only in the normal protected state. */
.izi-guard-badge{box-sizing:border-box;display:inline-flex;align-items:center;gap:.34rem;max-width:100%;margin:.5rem 0 0;padding:.34rem .55rem;border:1px solid var(--izi-guard-border);border-radius:999px;background:var(--izi-guard-bg);color:var(--izi-guard-text);font:650 12.5px/1.2 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:0;vertical-align:middle;transition:border-color .15s ease,color .15s ease,background-color .15s ease}
.izi-guard-badge[hidden],.izi-guard-badge-brand[hidden],.izi-guard-badge-dot[hidden]{display:none!important}.izi-guard-badge-mark{display:inline-flex;align-items:center;justify-content:center;width:17px;height:17px;flex:0 0 auto;color:var(--izi-guard-accent);background:transparent}.izi-guard-badge-mark svg{display:block;width:100%;height:100%}.izi-guard-badge-label{min-width:0;white-space:nowrap}.izi-guard-badge-brand{margin-inline-start:1px;color:var(--izi-guard-muted);font-size:11px;font-weight:600;white-space:nowrap}.izi-guard-badge-dot{width:5px;height:5px;border-radius:50%;background:var(--izi-guard-accent);flex:0 0 auto}
.izi-guard-badge[data-state="checking"]{color:#245f8d;border-color:#c9deee;background:#f6fbff}.izi-guard-badge[data-state="checking"] .izi-guard-badge-dot{animation:iziGuardPulse 1s ease-in-out infinite}.izi-guard-badge[data-state="verified"]{color:var(--izi-guard-success);border-color:#cbe7d8;background:#f5fbf7}.izi-guard-badge[data-state="verified"] .izi-guard-badge-mark{color:var(--izi-guard-success);background:transparent}.izi-guard-badge[data-state="challenge"]{color:var(--izi-guard-warning);border-color:#ead9aa;background:#fffaf0}.izi-guard-badge[data-state="challenge"] .izi-guard-badge-mark{color:var(--izi-guard-warning)}.izi-guard-badge[data-state="error"]{color:var(--izi-guard-danger);border-color:#efc9c5;background:#fff7f6}.izi-guard-badge[data-state="error"] .izi-guard-badge-mark{color:var(--izi-guard-danger)}

.izi-guard-sr-only,.izi-guard-progress{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}

/* One compact challenge: one title, one brand, one action. */
.izi-guard-interactive{container-type:inline-size;box-sizing:border-box;display:grid;gap:7px;width:100%;max-width:420px;margin:8px 0 0;padding:10px;border:1px solid var(--izi-guard-border);border-radius:12px;background:var(--izi-guard-bg);color:var(--izi-guard-text);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.izi-guard-interactive-head{display:grid;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:7px;min-width:0}.izi-guard-interactive-mark{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;color:var(--izi-guard-accent)}.izi-guard-interactive-mark svg{width:22px;height:22px}.izi-guard-interactive-mark-busy{animation:iziGuardSoftPulse 1s ease-in-out infinite}.izi-guard-interactive-mark-verified{color:var(--izi-guard-success)}
.izi-guard-interactive-title{min-width:0;color:var(--izi-guard-text);font:700 14px/1.2 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;white-space:nowrap;overflow:hidden;text-overflow:clip}.izi-guard-interactive-brandline{display:flex;align-items:center;justify-content:flex-end;min-height:11px;padding-inline:2px}.izi-guard-interactive-brandline[hidden]{display:none!important}.izi-guard-interactive-brand{color:var(--izi-guard-muted);font:600 10.5px/1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;white-space:nowrap}
.izi-guard-interactive[data-phase="checking"],.izi-guard-interactive[data-phase="verified"]{gap:0}.izi-guard-interactive[data-phase="checking"] .izi-guard-interactive-brandline,.izi-guard-interactive[data-phase="verified"] .izi-guard-interactive-brandline{display:none}.izi-guard-interactive[data-phase="verified"] .izi-guard-interactive-title{color:var(--izi-guard-success)}

.izi-guard-hold{--izi-guard-hold-progress:0%;position:relative;isolation:isolate;display:flex;align-items:center;justify-content:center;overflow:hidden;box-sizing:border-box;width:100%;min-height:48px;padding:0 48px;border:1px solid #a9c5dc;border-radius:10px;background:#f5f9fc;color:#25425c;font:700 14.5px/1.1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;cursor:pointer;appearance:none;-webkit-appearance:none;text-transform:none;letter-spacing:0;text-decoration:none;margin:0;max-width:100%;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;-webkit-user-drag:none;touch-action:none;overscroll-behavior:contain}.izi-guard-hold[hidden]{display:none!important}
.izi-guard-hold-progress{position:absolute;z-index:-1;inset-block:0;inset-inline-start:0;width:var(--izi-guard-hold-progress);background:#dcecf7;transition:width .03s linear}.izi-guard-hold-labels{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;min-width:0;max-width:100%}.izi-guard-hold-label{display:block;min-width:0;white-space:nowrap;text-align:center}.izi-guard-hold-label-compact{display:none}.izi-guard-hold-value{position:absolute;z-index:1;inset-inline-end:12px;top:50%;transform:translateY(-50%);min-width:32px;text-align:end;font:700 11.5px/1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;opacity:0;color:var(--izi-guard-accent);font-variant-numeric:tabular-nums}
.izi-guard-hold[data-holding="1"]{border-color:#7faed0;background:#f2f8fc}.izi-guard-hold[data-holding="1"] .izi-guard-hold-value{opacity:1}.izi-guard-hold:focus-visible{outline:3px solid rgba(37,111,172,.25);outline-offset:2px}.izi-guard-hold:disabled{cursor:default;opacity:1}.izi-guard-preview-challenge{margin-top:.5rem}

@container (max-width:340px){.izi-guard-interactive{padding:9px;border-radius:11px}.izi-guard-interactive-head{grid-template-columns:22px minmax(0,1fr);gap:6px}.izi-guard-interactive-mark{width:22px;height:22px}.izi-guard-interactive-mark svg{width:20px;height:20px}.izi-guard-interactive-title{font-size:13.5px}.izi-guard-interactive-brand{font-size:10.5px}.izi-guard-hold{min-height:48px;padding-inline:44px;font-size:14px}.izi-guard-hold-value{inset-inline-end:10px;font-size:11px}}
@container (max-width:270px){.izi-guard-interactive-head{grid-template-columns:21px minmax(0,1fr)}.izi-guard-interactive-brandline{display:none}.izi-guard-hold{padding-inline:40px}.izi-guard-hold-label{display:none}.izi-guard-hold-label-compact{display:block}.izi-guard-hold-value{inset-inline-end:9px;min-width:28px}}
@media (max-width:360px){.izi-guard-badge{font-size:12px}.izi-guard-badge-brand{font-size:10.5px}}
@keyframes iziGuardPulse{0%,100%{opacity:.35;transform:scale(.85)}50%{opacity:1;transform:scale(1)}}@keyframes iziGuardSoftPulse{0%,100%{opacity:.55}50%{opacity:1}}
@media (prefers-reduced-motion:reduce){.izi-guard-badge,.izi-guard-badge-dot,.izi-guard-hold-progress,.izi-guard-interactive-mark-busy{animation:none!important;transition:none!important}}
@media (prefers-color-scheme:dark){.izi-guard-badge,.izi-guard-interactive{--izi-guard-text:#dce6f1;--izi-guard-muted:#9eacbb;--izi-guard-border:#425366;--izi-guard-bg:#18222d}.izi-guard-badge[data-state="checking"]{background:#172a38;color:#a9d1ef;border-color:#36566e}.izi-guard-badge[data-state="verified"]{background:#142920;color:#9dd2b4;border-color:#315d46}.izi-guard-badge[data-state="challenge"]{background:#2b2618;color:#e7c978;border-color:#675827}.izi-guard-badge[data-state="error"],.izi-guard-status{background:#301b1b;color:#f0aaa3;border-color:#6f3732}.izi-guard-hold{background:#213141;color:#d7e5ef;border-color:#4b6b83}.izi-guard-hold-progress{background:#2a4d67}}
