.auth-scanner-portal-root{position:fixed;inset:0;z-index:10000;background:#020617d1;display:flex;align-items:center;justify-content:center;padding:calc(var(--safe-area-top, 0px) + .8rem) calc(var(--safe-area-right, 0px) + .8rem) calc(var(--safe-area-bottom, 0px) + .8rem) calc(var(--safe-area-left, 0px) + .8rem);box-sizing:border-box}.auth-scanner-portal-shell{width:min(980px,100%);max-height:100%;display:flex}.auth-scanner-portal-card{position:relative;width:100%;border-radius:22px;border:1px solid rgba(148,163,184,.28);background:#020617eb;box-shadow:0 26px 68px #0206178c;padding:1rem;display:flex;flex-direction:column;gap:.75rem;overflow:hidden}.auth-scanner-portal-card--camera{min-height:min(90vh,92dvh)}.auth-scanner-portal-close{align-self:flex-end;border-radius:999px;border:1px solid rgba(148,163,184,.32);background:#0f172abf;color:#e2e8f0;padding:.34rem .78rem;font-size:.78rem;font-weight:600;letter-spacing:.02em}.auth-scanner-portal-close:hover,.auth-scanner-portal-close:focus-visible{border-color:#94a3b899;background:#1e293bdb;color:#fff;outline:none}.auth-scanner-portal-header{text-align:center}.auth-scanner-portal-title{font-size:clamp(1.25rem,2vw,1.6rem);font-weight:700;color:#f8fafc;margin:0}.auth-scanner-portal-subtitle{margin:.2rem 0 0;font-size:.9rem;color:#e2e8f0db}.auth-scanner-portal-camera-wrap{width:100%;height:min(72vh,78dvh);min-height:300px;border-radius:18px;border:1px solid rgba(148,163,184,.28);background:#000;overflow:hidden;display:flex;align-items:center;justify-content:center}.auth-scanner-portal-camera{width:100%;height:100%;object-fit:cover}.auth-scanner-portal-native-placeholder{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.35rem;text-align:center;color:#e2e8f0d9;font-size:.95rem;background:radial-gradient(circle at top,rgba(59,130,246,.24),transparent 62%),linear-gradient(160deg,#0f172aeb,#020617fa)}.auth-scanner-portal-instruction{margin:0;font-size:.82rem;line-height:1.45;color:#e2e8f0d1;text-align:center}.auth-scanner-portal-status{border-radius:12px;border:1px solid rgba(148,163,184,.2);background:#0f172a85;padding:.65rem .7rem;display:flex;flex-direction:column;gap:.35rem}.auth-scanner-portal-status-label{margin:0;font-size:.82rem;color:#e2e8f0ed}.auth-scanner-portal-status-label span{font-weight:600}.auth-scanner-portal-error{margin:0;border-radius:10px;border:1px solid rgba(251,113,133,.45);background:#fb718524;color:#fecdd3;padding:.5rem .6rem;font-size:.8rem;line-height:1.35}.auth-scanner-portal-actions{display:flex;flex-wrap:wrap;gap:.55rem;justify-content:center}.auth-scanner-portal-button{border-radius:999px;border:1px solid rgba(94,234,212,.36);background:#10b98133;color:#ecfdf5;min-height:38px;padding:.5rem 1.05rem;font-size:.82rem;font-weight:600;letter-spacing:.02em}.auth-scanner-portal-button:hover,.auth-scanner-portal-button:focus-visible{border-color:#5eead4b3;background:#10b9814d;outline:none}.auth-scanner-portal-button:disabled{opacity:.6;cursor:not-allowed}.auth-scanner-portal-button--ghost{border-color:#94a3b861;background:#0f172aa3;color:#e2e8f0f2}.auth-scanner-portal-button--ghost:hover,.auth-scanner-portal-button--ghost:focus-visible{border-color:#94a3b89e;background:#1e293bcc}.auth-scanner-portal-footnote{margin:0;text-align:center;font-size:.74rem;color:#94a3b8eb}@media(max-width:640px){.auth-scanner-portal-card{border-radius:16px;padding:.7rem;gap:.6rem}.auth-scanner-portal-camera-wrap{min-height:260px;height:min(64vh,68dvh)}}:root[data-color-mode=light] .auth-scanner-portal-root{background:#0f172a33}:root[data-color-mode=light] .auth-scanner-portal-card{border-color:#94a3b866;background:#fffffff7;box-shadow:0 20px 52px #0f172a2e}:root[data-color-mode=light] .auth-scanner-portal-close{border-color:#94a3b870;background:#f8fafcf5;color:#0f172ae6}:root[data-color-mode=light] .auth-scanner-portal-close:hover,:root[data-color-mode=light] .auth-scanner-portal-close:focus-visible{background:#f1f5f9;color:#0f172a}:root[data-color-mode=light] .auth-scanner-portal-title{color:#0f172af5}:root[data-color-mode=light] .auth-scanner-portal-subtitle,:root[data-color-mode=light] .auth-scanner-portal-instruction{color:#334155eb}:root[data-color-mode=light] .auth-scanner-portal-status{border-color:#94a3b857;background:#f8fafceb}:root[data-color-mode=light] .auth-scanner-portal-status-label{color:#1e293bf2}:root[data-color-mode=light] .auth-scanner-portal-button{border-color:#10b9818c;background:#10b98129;color:#065f46f2}:root[data-color-mode=light] .auth-scanner-portal-button:hover,:root[data-color-mode=light] .auth-scanner-portal-button:focus-visible{border-color:#10b981b8;background:#10b9813d}:root[data-color-mode=light] .auth-scanner-portal-button--ghost{border-color:#94a3b88c;background:#f1f5f9eb;color:#1e293be6}.alerts-portal-root{position:fixed;inset:0;z-index:2147483646;pointer-events:none;display:flex;padding:1rem}.alerts-portal-root--modal{align-items:center;justify-content:center}.alerts-portal-root--sheet{align-items:stretch;justify-content:flex-end}.alerts-portal-root--banner{align-items:flex-start;justify-content:center;padding-top:calc(env(safe-area-inset-top,0px) + 30px)}.alerts-portal__backdrop{position:absolute;inset:0;background:#0206179e;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);pointer-events:auto}.alerts-portal__card{position:relative;pointer-events:auto;width:min(52rem,calc(100vw - 2rem));max-height:calc(100vh - 2rem);border-radius:22px;border:1px solid rgba(148,163,184,.24);background:linear-gradient(160deg,#0f172a,#111827);color:#f8fafc;box-shadow:0 26px 54px #0206178c,inset 0 1px #ffffff0f;display:flex;flex-direction:column;overflow:hidden}.alerts-portal-root--modal .alerts-portal__card{max-height:90vh}.alerts-portal-root--sheet .alerts-portal__card{width:min(35rem,calc(100vw - 1.25rem));margin-left:auto}.alerts-portal-root--banner .alerts-portal__card{width:min(72rem,calc(100vw - 1rem));border-radius:16px;max-height:min(90vh,calc(100vh - env(safe-area-inset-top,0px) - 30px - 1rem))}.alerts-portal__card--info{border-color:#38bdf880}.alerts-portal__card--success{border-color:#2dd4bf8c}.alerts-portal__card--warning{border-color:#fbbf2480}.alerts-portal__card--error{border-color:#f871718c}.alerts-portal__header{display:flex;align-items:flex-start;justify-content:space-between;gap:.85rem;padding:1rem 1rem .8rem;border-bottom:1px solid rgba(148,163,184,.18);flex:0 0 auto}.alerts-portal__header-copy{min-width:0}.alerts-portal__eyebrow{font-size:.68rem;text-transform:uppercase;letter-spacing:.14em;margin-bottom:.35rem;color:#e2e8f0bf}.alerts-portal__eyebrow--info{color:#7dd3fc}.alerts-portal__eyebrow--success{color:#5eead4}.alerts-portal__eyebrow--warning{color:#fcd34d}.alerts-portal__eyebrow--error{color:#fda4af}.alerts-portal__title{margin:0;font-size:1.05rem;line-height:1.35;color:#f8fafc}.alerts-portal__close{border:1px solid rgba(148,163,184,.35);background:#0f172a80;color:#f8fafc;width:2rem;height:2rem;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.alerts-portal__close svg{width:1rem;height:1rem}.alerts-portal__close:hover,.alerts-portal__close:focus-visible{border-color:#7dd3fca6;background:#1e293bcc;outline:none}.alerts-portal__body{padding:.95rem 1rem 1rem;display:flex;flex-direction:column;gap:.75rem;flex:1 1 auto;min-height:0;overflow:auto}.alerts-portal__message{margin:0;font-size:.95rem;line-height:1.55;color:#e2e8f0eb}.alerts-portal__json{margin:0;border-radius:12px;border:1px solid rgba(148,163,184,.25);background:#0f172a70;padding:.75rem .85rem;font-size:.82rem;line-height:1.5;white-space:pre-wrap;word-break:break-word;font-family:ui-monospace,SFMono-Regular,SFMono,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.alerts-portal__empty{margin:0;padding:.8rem;border-radius:12px;border:1px dashed rgba(148,163,184,.3);color:#cbd5e1eb;text-align:center}.alerts-portal__structured-view.structured-view{display:flex;flex-direction:column;gap:1rem;font-size:.95rem;line-height:1.6;color:#e2e8f0f2}.alerts-portal__body .structured-paragraph{margin:0;color:#e2e8f0f2;line-height:1.45}.alerts-portal__body .structured-multiline{display:flex;flex-direction:column;gap:.05rem;margin:0}.alerts-portal__body .structured-multiline__line{margin:0;color:#e2e8f0f2;line-height:1.45}.alerts-portal__body .structured-section{display:flex;flex-direction:column;gap:.3rem;margin:0}.alerts-portal__body .structured-section__header{display:flex;align-items:center;gap:.35rem}.alerts-portal__body .structured-section__toggle{display:inline-flex;align-items:center;justify-content:center;width:1.5rem;height:1.5rem;border-radius:999px;border:1px solid rgba(148,163,184,.45);background:#0f172a8c;color:#e2e8f0f2;transition:background .16s ease,border-color .16s ease;cursor:pointer;line-height:0;flex-shrink:0}.alerts-portal__body .structured-section__toggle:hover,.alerts-portal__body .structured-section__toggle:focus-visible{border-color:#5eead473;background:#2dd4bf33;outline:none}.alerts-portal__body .structured-section__toggle:disabled{cursor:default;opacity:.45}.alerts-portal__body .structured-section__toggle-icon{width:.72rem;height:.72rem}.alerts-portal__body .structured-section__title{margin:0;font-size:.9rem;color:#f8fafcfa;font-weight:500}.alerts-portal__body .structured-section__body{display:flex;flex-direction:column;gap:.35rem;margin-left:1.85rem}.alerts-portal__body .structured-list{margin:0 0 0 1.1rem;padding:0;display:flex;flex-direction:column;gap:.38rem}.alerts-portal__body .structured-list__item{list-style:disc}.alerts-portal__body .structured-list--ol .structured-list__item{list-style:decimal}.alerts-portal__body .structured-table{width:100%;border-collapse:separate;border-spacing:0;border-radius:10px;overflow:hidden;background:#080f1f85;border:1px solid rgba(148,163,184,.22)}.alerts-portal__body .structured-table caption{padding:.45rem .6rem;font-size:.82rem;color:#94a3b8f2;text-align:left}.alerts-portal__body .structured-table th,.alerts-portal__body .structured-table td{padding:.56rem .7rem;border-right:1px solid rgba(148,163,184,.2);border-bottom:1px solid rgba(148,163,184,.2);text-align:left}.alerts-portal__body .structured-table th{font-weight:600;background:#94a3b829}.alerts-portal__body .structured-table tr:last-child td,.alerts-portal__body .structured-table tr:last-child th{border-bottom:none}.alerts-portal__body .structured-table tr th:last-child,.alerts-portal__body .structured-table tr td:last-child{border-right:none}.alerts-portal__body .structured-key-value{margin:0;border:1px solid rgba(148,163,184,.26);border-radius:12px;overflow:hidden;background:#080f1f66}.alerts-portal__body .structured-key-value__row{display:grid;grid-template-columns:minmax(8rem,1fr) 2fr;gap:.7rem;padding:.56rem .7rem;border-bottom:1px solid rgba(148,163,184,.2)}.alerts-portal__body .structured-key-value__row:last-child{border-bottom:none}.alerts-portal__body .structured-key-value__term{margin:0;color:#94a3b8f2;font-weight:600}.alerts-portal__body .structured-key-value__description{margin:0;word-break:break-word;color:#e2e8f0f2}.alerts-portal__footer{display:grid;grid-template-columns:1fr;gap:.55rem;padding:.85rem 1rem 1rem;border-top:1px solid rgba(148,163,184,.18);flex:0 0 auto}.alerts-portal__action{width:100%;min-height:2.7rem;display:inline-flex;align-items:center;justify-content:center;text-align:center;border-radius:12px;border:1px solid rgba(148,163,184,.38);background:#1e293b80;color:#f8fafc;padding:.55rem .8rem;font-size:.9rem;font-weight:600;line-height:1.25;transition:border-color .16s ease,background-color .16s ease,transform .16s ease}.alerts-portal__action:hover,.alerts-portal__action:focus-visible{border-color:#7dd3fc99;background:#3b82f638;transform:translateY(-1px);outline:none}.alerts-portal__action--primary{border-color:#3b82f6bf;background:#2563eb6b}.alerts-portal__action--danger{border-color:#f87171bf;background:#991b1b6b}.alerts-portal__action:disabled{opacity:.55;cursor:not-allowed;transform:none}.alerts-portal__action:disabled:hover,.alerts-portal__action:disabled:focus-visible{border-color:#94a3b861;background:#1e293b80;transform:none}@media(max-width:768px){.alerts-portal-root{padding:.7rem}.alerts-portal-root--banner{padding-top:calc(env(safe-area-inset-top,0px) + 30px)}.alerts-portal__card,.alerts-portal-root--sheet .alerts-portal__card,.alerts-portal-root--banner .alerts-portal__card{width:calc(100vw - 1.4rem)}.alerts-portal-root--sheet .alerts-portal__card{max-height:calc(100vh - 1.4rem)}.alerts-portal-root--banner .alerts-portal__card{max-height:min(90vh,calc(100vh - env(safe-area-inset-top,0px) - 30px - .7rem))}.alerts-portal__header{padding:.8rem .8rem .68rem}.alerts-portal__body{padding:.8rem}.alerts-portal__footer{padding:.7rem .8rem .8rem}}:root[data-color-mode=light] .alerts-portal__backdrop{background:#0f172a47}:root[data-color-mode=light] .alerts-portal__card{background:var(--surface-elevated);color:var(--fg);border-color:var(--surface-border);box-shadow:0 20px 44px #0f172a2e,inset 0 1px #0f172a0a}:root[data-color-mode=light] .alerts-portal__header,:root[data-color-mode=light] .alerts-portal__footer{border-color:var(--surface-border)}:root[data-color-mode=light] .alerts-portal__title{color:var(--fg)}:root[data-color-mode=light] .alerts-portal__eyebrow{color:var(--fg-70)}:root[data-color-mode=light] .alerts-portal__close{background:var(--surface-alpha-10);border-color:var(--surface-border);color:var(--fg-80)}:root[data-color-mode=light] .alerts-portal__close:hover,:root[data-color-mode=light] .alerts-portal__close:focus-visible{background:var(--surface-alpha-20)}:root[data-color-mode=light] .alerts-portal__message{color:var(--fg-90)}:root[data-color-mode=light] .alerts-portal__json{background:var(--panel-bg-faint);border-color:var(--panel-border);color:var(--fg-90)}:root[data-color-mode=light] .alerts-portal__empty{border-color:var(--surface-border);color:var(--fg-70)}:root[data-color-mode=light] .alerts-portal__body .structured-paragraph,:root[data-color-mode=light] .alerts-portal__body .structured-multiline__line,:root[data-color-mode=light] .alerts-portal__body .structured-section__title{color:var(--fg-90)}:root[data-color-mode=light] .alerts-portal__body .structured-section__toggle{background:var(--surface-alpha-10);border-color:var(--surface-border);color:var(--fg-80)}:root[data-color-mode=light] .alerts-portal__body .structured-table{background:var(--panel-bg);border-color:var(--panel-border)}:root[data-color-mode=light] .alerts-portal__body .structured-table th{background:var(--surface-alpha-10)}:root[data-color-mode=light] .alerts-portal__body .structured-table th,:root[data-color-mode=light] .alerts-portal__body .structured-table td{border-color:var(--surface-border);color:var(--fg-90)}:root[data-color-mode=light] .alerts-portal__body .structured-key-value{background:var(--panel-bg);border-color:var(--panel-border)}:root[data-color-mode=light] .alerts-portal__body .structured-key-value__row{border-bottom-color:var(--surface-border)}:root[data-color-mode=light] .alerts-portal__body .structured-key-value__term{color:var(--fg-70)}:root[data-color-mode=light] .alerts-portal__body .structured-key-value__description{color:var(--fg-90)}:root[data-color-mode=light] .alerts-portal__action{background:var(--surface-alpha-10);border-color:var(--surface-border);color:var(--fg-90)}:root[data-color-mode=light] .alerts-portal__action:hover,:root[data-color-mode=light] .alerts-portal__action:focus-visible{background:var(--surface-alpha-20)}:root[data-color-mode=light] .alerts-portal__action:disabled:hover,:root[data-color-mode=light] .alerts-portal__action:disabled:focus-visible{background:var(--surface-alpha-10)}
