.portable-tools{display:flex;justify-content:flex-end;gap:10px;margin:-8px 0 22px}.portable-tools button,.portable-dialog button,.portable-dialog select,.portable-dialog input[type=file]{font:inherit}.portable-tools button{border:1px solid var(--line,#d8cfe1);background:var(--surface-raised,#fff);color:var(--text,#302536);border-radius:12px;padding:10px 15px;cursor:pointer}.portable-dialog{width:min(720px,calc(100vw - 24px));max-height:90dvh;overflow:auto;overscroll-behavior:contain;box-sizing:border-box;border:1px solid var(--line,#d8cfe1);border-radius:24px;background:var(--surface-raised,#faf7f2);color:var(--text,#302536);padding:28px;box-shadow:0 22px 90px #0005}.portable-dialog::backdrop{background:#19132399}.portable-dialog h2{font:30px Georgia;margin:0 42px 10px 0}.portable-dialog h3{font:22px Georgia;margin:20px 0 10px}.portable-dialog p{font-size:14px;line-height:1.7}.portable-dialog .portable-close{float:right;border-radius:50%;width:36px;height:36px;padding:0;font-size:24px}.portable-dialog button{border:1px solid var(--line,#d8cfe1);border-radius:12px;background:var(--surface,#eee7f4);color:var(--text,#302536);padding:11px 15px;cursor:pointer}.portable-dialog button:disabled{opacity:.5;cursor:default}.portable-dialog .portable-primary{background:#543677;color:white;border-color:#543677}.portable-tabs,.portable-actions{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.portable-tabs button[aria-selected=true]{background:#543677;color:white}.portable-tabs button{padding:9px 12px;font-size:13px}.portable-dialog label{display:block;margin:14px 0;font-size:14px}.portable-dialog select,.portable-dialog textarea{display:block;width:100%;box-sizing:border-box;border:1px solid var(--line,#d8cfe1);background:var(--surface-raised,#fff);color:inherit;border-radius:10px;padding:12px;margin:8px 0;font:inherit}.portable-dialog textarea{min-height:90px;font-family:monospace;font-size:12px;overflow-wrap:anywhere}.portable-note{font-size:12px!important;color:var(--muted,#716a76)}.portable-status{padding:13px 15px;border:1px solid var(--line,#d8cfe1);border-radius:12px;min-height:22px;background:var(--surface,#f0eaf4);overflow-wrap:anywhere}.portable-dialog progress{width:100%;height:12px;accent-color:#79529b}.portable-qr{max-width:360px;margin:20px auto;background:white;border-radius:12px;padding:12px}.portable-qr svg{display:block;width:100%;height:auto}.portable-video{width:100%;max-height:300px;object-fit:contain;background:#15121a;border-radius:14px}.portable-preview{border:1px solid var(--line,#d8cfe1);border-radius:14px;padding:16px}.portable-dialog [hidden]{display:none!important}.portable-dialog button:focus-visible,.portable-tools button:focus-visible{outline:3px solid #a77bc8;outline-offset:3px}.portable-dialog .provider-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--line,#d8cfe1)}@media(max-width:600px){.portable-dialog{padding:20px}.portable-dialog h2{font-size:26px}.portable-tools{justify-content:flex-start}.portable-tabs{gap:6px}.portable-tabs button{font-size:12px;padding:9px}.portable-qr{padding:7px}.portable-actions>*{flex:1}}
html[data-appearance=dark] .portable-dialog,html[data-appearance=dark] .portable-tools{--surface-raised:#211a2d;--surface:#2c2338;--text:#eee7f5;--line:#493956;--muted:#c8bfd2}
