.dashboard-page{background:#f4f5f7;max-width:none;height:auto;min-height:100dvh;padding:0}body:has(.dashboard-page){overflow:hidden auto}.dashboard-loading{place-items:center;min-height:100dvh;padding:0;display:grid}.dashboard-page .dashboard-loading{max-width:none;height:100dvh;margin:0;padding:0}.dashboard-guest-shell{flex:auto;place-items:center;min-height:0;padding:40px 18px;display:grid}.dashboard-login-card{background:#fff;border:1px solid #e5e7eb;border-radius:8px;width:min(100%,460px);margin:0;padding:0;box-shadow:0 18px 50px #11182714}.dashboard-guest-header{text-align:center;width:100%;margin:0;padding:24px 28px 0}.dashboard-login-card .login-center{padding:34px 28px 28px}.dashboard-topbar{background:#fff;border-bottom:1px solid #e5e7eb;flex:0 0 60px;height:60px}.dashboard-topbar-inner{justify-content:space-between;align-items:center;gap:16px;width:100%;max-width:1040px;height:100%;margin:0 auto;padding:0 18px;display:flex}.dashboard-topbar-inner h1{letter-spacing:0;margin:0;font-size:22px;font-weight:800;line-height:1}.dashboard-account{align-items:center;gap:8px;min-width:0;display:inline-flex}.dashboard-address{text-overflow:ellipsis;white-space:nowrap;color:#111827;min-width:0;max-width:148px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:13px;font-weight:750;overflow:hidden}.icon-button{color:#4b5563;background:0 0;border:0;border-radius:8px;flex:none;place-items:center;width:36px;height:36px;min-height:36px;padding:0;display:inline-grid}.icon-button:hover{color:#111827;background:#eef0f3}.icon-button svg{width:20px;height:20px}.icon-button path{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.dashboard-content-actions{text-align:left;margin-bottom:12px}.dashboard-mode-button{color:#111827;text-align:left;text-underline-offset:3px;background:0 0;border-radius:0;width:auto;min-height:0;padding:0;font-size:13px;font-weight:750;line-height:1.35;text-decoration:underline;display:inline}.dashboard-mode-button:hover{color:#2563eb}.dashboard-page .content{width:100%;max-width:1040px;margin:0 auto;padding:18px;overflow:visible}.dashboard-page .content.admin-content{max-width:1040px}.dashboard-card{background:#fff;border:0;border-radius:8px;margin-top:0;padding:0}.dashboard-card+.dashboard-card{margin-top:14px}.section-heading{justify-content:space-between;align-items:center;gap:12px;min-height:48px;margin-bottom:0;padding:0 16px;display:flex}.section-heading h2{margin:0;font-size:16px}.dashboard-card-divider{background:#e5e7eb;border:0;height:1px;margin-block:0}.dashboard-card-body{padding:16px}.wallet-address-row{justify-content:space-between;align-items:center;gap:12px;min-width:0;display:flex}.wallet-address-large{color:#111827;min-width:0;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:1.25rem;line-height:1.2;display:block}.wallet-address-full{overflow-wrap:anywhere;color:#6b7280;margin-top:8px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px}.wallet-key-form{gap:10px;padding:16px;display:grid}.wallet-key-form label{color:#4b5563;font-size:12px;font-weight:700}.wallet-key-form input{border:1px solid #d1d5db;border-radius:8px;width:100%;min-width:0;padding:10px 12px;font:13px/1.3 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.wallet-key-form button{width:100%}.dialog-backdrop{z-index:20;background:#11182761;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.dialog-card{background:#fff;border:0;border-radius:8px;width:min(100%,460px);max-height:calc(100dvh - 36px);margin-top:0;padding:0;overflow:auto;box-shadow:0 24px 60px #1118272e}.dialog-card .section-heading{padding-right:10px}.dialog-actions{justify-content:flex-end;gap:10px;margin-top:4px;display:flex}.wallet-key-form .dialog-actions button{width:auto}.admin-page{gap:16px;display:grid}.admin-account-form{gap:10px;display:grid}.admin-account-form label{color:#4b5563;font-size:12px;font-weight:700}.admin-account-form input{border:1px solid #d1d5db;border-radius:8px;width:100%;min-width:0;padding:10px 12px;font:13px/1.3 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.admin-account-form button{justify-self:start}.admin-account-list{margin-top:0}.badge{color:#6b7280;background:#f3f4f6;border-radius:999px;align-items:center;padding:3px 10px;font-size:12px;font-weight:600;display:inline-flex}.badge.signed-in{color:#15803d;background:#dcfce7}.tabs{background:#f3f4f6;border-radius:8px;gap:6px;margin:0;padding:4px;display:flex}.tabs button{color:#4b5563;background:0 0;border-radius:6px;flex:1 1 0;padding:7px 12px;font-size:13px;font-weight:600}.tabs button.active{color:#fff;background:#111827}.audit-list{gap:10px;display:grid}.audit-item{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:14px}.payment-audit-item{min-height:112px;padding-right:62px;position:relative}.activity-body{min-height:112px;position:relative}.activity-loading{place-items:center;min-height:112px;display:grid}.activity-loading .spinner,.activity-refresh-overlay .spinner{border-width:2px;width:28px;height:28px}.activity-refresh-overlay{z-index:1;-webkit-backdrop-filter:blur(1px);backdrop-filter:blur(1px);background:#ffffffb8;border-radius:0 0 8px 8px;place-items:center;display:grid;position:absolute;inset:0}.payment-audit-lines{grid-template-rows:auto auto auto;gap:8px;min-width:0;display:grid}.audit-main{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.audit-label{color:#6b7280;text-transform:uppercase;letter-spacing:.03em;margin-bottom:4px;font-size:12px;font-weight:700;display:block}.audit-amount{color:#111827;letter-spacing:0;font-size:1.375rem;font-weight:750;line-height:1.15;display:block}.payment-audit-domain,.payment-audit-time{color:#6b7280;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:13px;line-height:1.35;overflow:hidden}.payment-audit-domain{color:#374151}.payment-audit-status{max-width:120px;position:absolute;top:14px;right:14px}.payment-audit-link{background:#fff;width:32px;height:32px;min-height:32px;position:absolute;bottom:10px;right:10px}.payment-audit-link:hover,.payment-audit-link:focus-visible{background:#f9fafb}.audit-meta{color:#6b7280;flex-wrap:wrap;gap:7px 12px;margin-top:12px;font-size:13px;line-height:1.35;display:flex}.audit-meta span{min-width:0}.resource-text{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.empty-cell{text-align:center;color:#9ca3af;padding:28px 0;font-family:inherit}.status-badge{color:#4b5563;vertical-align:middle;background:#f3f4f6;border-radius:999px;align-items:center;min-height:22px;padding:2px 8px;font-size:12px;font-weight:700;line-height:1;display:inline-flex}.status-badge.pending{color:#92400e;background:#fef3c7}.status-badge.approved{color:#166534;background:#dcfce7}.status-badge.denied{color:#991b1b;background:#fee2e2}@media (width>=780px){.dashboard-page .content{grid-template-columns:minmax(260px,320px) minmax(0,1fr);align-content:start;gap:18px;display:grid}.dashboard-content-actions{grid-column:1/-1;justify-self:start;margin-bottom:0}.dashboard-page .content.admin-content{display:block}.dashboard-card+.dashboard-card{margin-top:0}.autopay-wallet-card{align-self:start;position:sticky;top:18px}}@media (width<=779px){.dashboard-page-guest{background:#fff}.dashboard-guest-shell{background:#fff;place-items:start center;min-height:100dvh;padding:28px 18px}.dashboard-login-card{width:100%;min-height:calc(100dvh - 56px);box-shadow:none;border:0;border-radius:0}.dashboard-guest-header{padding:8px 0 0}.dashboard-login-card .login-center{padding:48px 0 24px}}.status-badge.expired{color:#4b5563;background:#f3f4f6}.status-badge.created,.status-badge.completed{color:#1d4ed8;background:#dbeafe}.status-badge.confirmed{color:#166534;background:#dcfce7}.status-badge.failed{color:#991b1b;background:#fee2e2}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:#111827;background:#f4f5f7;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html,body,#root{width:100%;height:100%}body{margin:0;overflow:hidden}main{flex-direction:column;width:100%;max-width:760px;height:100dvh;margin:0 auto;padding:0 16px;display:flex}header{flex:none;padding:24px 0 14px}.content{-webkit-overflow-scrolling:touch;flex:auto;min-height:0;padding:0 0 18px;overflow-y:auto}h1{letter-spacing:0;margin:0 0 6px;font-size:26px;line-height:1.2}h2{letter-spacing:0;margin:0 0 14px;font-size:17px;line-height:1.3}p{color:#4b5563;margin:0;line-height:1.5}section{background:#fff;border:1px solid #e5e7eb;border-radius:8px;margin-top:16px;padding:18px}button{color:#fff;cursor:pointer;background:#111827;border:0;border-radius:6px;padding:10px 14px;font-weight:700}button.danger{color:#991b1b;background:#fff;border:1px solid #fecaca}button.secondary{color:#111827;background:#fff;border:1px solid #d1d5db}button:disabled{opacity:.5;cursor:not-allowed}dl{grid-template-columns:minmax(116px,160px) minmax(0,1fr);gap:10px 14px;margin:0;display:grid}dt{color:#6b7280;font-size:13px}dd{overflow-wrap:anywhere;color:#111827;min-width:0;margin:0;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:13px}.actions{padding:12px 0 max(12px, env(safe-area-inset-bottom));background:#f4f5f7;border-top:1px solid #e5e7eb;flex:none;gap:10px;display:flex}.actions button{flex:1 1 0;width:auto;min-height:46px;margin:0}.signed-action{color:#047857;flex:100%;justify-content:center;align-items:center;gap:10px;min-height:46px;font-size:16px;font-weight:800;display:inline-flex}.signed-check{color:#047857;background:#d1fae5;border-radius:999px;place-items:center;width:28px;height:28px;display:inline-grid}.signed-check svg{fill:none;stroke:currentColor;stroke-width:2.6px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.status{white-space:pre-wrap;color:#374151;margin-top:10px;font-size:13px;line-height:1.45}.app-identity{align-items:center;gap:12px;margin-bottom:18px;display:flex}.app-mark{color:#fff;background:#111827;border-radius:10px;flex:none;place-items:center;width:42px;height:42px;font-weight:800;display:inline-grid}.app-identity h2{margin-bottom:2px}.app-identity p{font-size:14px}.security-note{color:#1d4ed8;background:#eff6ff;border-radius:8px;margin-top:16px;padding:12px 14px;font-weight:650}.detail-list{border-top:1px solid #e5e7eb}.detail-row{border-bottom:1px solid #e5e7eb;grid-template-columns:34px minmax(76px,1fr) auto 28px;align-items:center;column-gap:10px;min-height:58px;display:grid}.detail-icon{color:#4b5563;place-items:center;width:26px;height:26px;display:inline-grid}.detail-icon svg{width:25px;height:25px}.detail-icon circle,.detail-icon path,.detail-copy rect,.detail-copy path{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round}.detail-label{color:#6b7280;min-width:0;font-weight:550}.detail-row strong{color:#111827;text-align:right;overflow-wrap:anywhere;min-width:0;font-size:15px;font-weight:750}.detail-copy{color:#4b5563;background:0 0;place-items:center;width:28px;height:28px;min-height:28px;padding:0;display:inline-grid}.detail-copy svg{width:20px;height:20px}.confirm-status{margin-top:14px}.auth-page{width:100%;min-width:0;padding:0;overflow-x:hidden}.auth-topbar{background:#fff;border-bottom:1px solid #e5e7eb;grid-template-columns:40px minmax(0,1fr) 40px;align-items:center;gap:8px;height:60px;min-height:60px;padding:0 16px;display:grid}.auth-topbar h1{text-align:center;margin:0;font-size:18px;line-height:1.2}.auth-topbar p{display:none}.auth-nav-button,.auth-shield{place-items:center;width:36px;height:36px;display:inline-grid}.auth-nav-button{color:#111827;background:0 0;min-height:36px;padding:0}.auth-nav-button svg,.auth-shield svg{width:22px;height:22px}.auth-nav-button path,.auth-shield path{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.auth-shield{color:#047857;background:#ecfdf5;border-radius:999px;justify-self:end}.auth-page .content{background:#fff;width:100%;min-width:0;padding:0 16px 18px;overflow-x:hidden}.auth-page .actions{padding:12px 16px max(12px, env(safe-area-inset-bottom));background:#fff;width:100%;min-width:0}.login-confirm-panel{background:0 0;border:0;border-radius:0;margin-top:0;padding:20px 0 0}.success-panel{text-align:center;background:0 0;border:0;border-radius:0;margin-top:0;padding:28px 0 0}.success-icon{color:#15803d;background:#dcfce7;border-radius:50%;place-items:center;width:64px;height:64px;margin:0 auto 18px;display:grid}.success-icon svg{width:34px;height:34px}.success-icon path{fill:none;stroke:currentColor;stroke-width:2.8px;stroke-linecap:round;stroke-linejoin:round}.success-panel>p{margin-bottom:26px}.success-list{text-align:left}.empty{border-style:dashed}.authorization-summary,.spending-panel,.scope-panel{background:#fff;border-color:#e5e7eb;width:100%;min-width:0;margin-top:14px;padding:16px;overflow:hidden}.authorization-summary{margin-top:16px}.requester-card{align-items:center;gap:12px;display:flex}.requester-mark{color:#fff;background:#111827;border-radius:8px;flex:none;place-items:center;width:42px;height:42px;font-weight:800;display:inline-grid}.requester-copy{min-width:0}.requester-copy h2{margin:0 0 3px;font-size:17px}.requester-copy p,.requester-wallet{overflow-wrap:anywhere;min-width:0;font-size:13px;display:block}.requester-wallet{color:#4b5563;margin-top:5px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.transparency-note{color:#6b7280;border-top:1px solid #f3f4f6;margin-top:12px;padding-top:12px;font-size:13px}.budget-header{border-bottom:1px solid #e5e7eb;gap:4px;padding-bottom:14px;display:grid}.budget-header span{color:#6b7280;font-size:13px;font-weight:650}.budget-header strong{color:#111827;letter-spacing:0;font-size:30px;line-height:1.1}.risk-list,.scope-list{display:grid}.risk-row,.scope-row,.wallet-state{border-bottom:1px solid #f3f4f6;grid-template-columns:minmax(86px,auto) minmax(0,1fr);align-items:center;gap:16px;min-height:44px;display:grid}.risk-row span,.scope-row span,.wallet-state span{color:#6b7280;flex:none;font-size:13px;font-weight:600}.risk-row strong,.scope-row strong,.wallet-state strong{overflow-wrap:anywhere;text-overflow:ellipsis;white-space:nowrap;color:#111827;text-align:right;min-width:0;max-width:100%;font-size:14px;font-weight:750;overflow:hidden}.scope-panel h2{margin-bottom:8px;font-size:16px}.binding-details{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;margin-top:12px}.binding-details summary{cursor:pointer;justify-content:space-between;align-items:center;gap:12px;min-height:44px;padding:0 12px;list-style:none;display:flex}.binding-details summary::-webkit-details-marker{display:none}.binding-details summary span{color:#374151;min-width:0;font-size:13px;font-weight:650}.binding-details summary strong,.binding-details p{overflow-wrap:anywhere;color:#4b5563;min-width:0;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px}.binding-details p{padding:0 12px 12px}.wallet-state{border-bottom:0;margin-top:10px}@media (width<=620px){main{padding:0 12px}header{padding-top:20px}dl{grid-template-columns:1fr;gap:4px 0}dd+dt{margin-top:8px}.actions{gap:8px}.actions button{width:auto}.auth-page{max-width:none}.risk-row,.scope-row,.wallet-state{grid-template-columns:minmax(0,1fr);align-items:start;gap:4px;padding:10px 0}.risk-row strong,.scope-row strong,.wallet-state strong{text-align:left;font-size:13px}}@media (width>=721px){body:has(.auth-page) #root{place-items:center;display:grid}.auth-page{background:#fff;border:1px solid #e5e7ebb8;border-radius:28px;grid-template:"topbar content"1fr"topbar actions"/minmax(280px,.84fr) minmax(420px,1fr);column-gap:78px;width:min(1120px,100% - 56px);max-width:none;height:min(620px,100dvh - 88px);min-height:468px;margin:0;padding:42px 48px;display:grid;box-shadow:0 22px 60px #0f172a0f}.auth-topbar{text-align:left;background:0 0;border-bottom:0;grid-area:topbar;align-self:center;height:auto;min-height:0;padding:0;display:block}.auth-topbar h1{text-align:left;margin-bottom:20px;font-size:48px;font-weight:650;line-height:1.04}.auth-topbar p{color:#111827;font-size:18px;display:block}.auth-nav-button,.auth-shield{display:none}.auth-page .content{background:0 0;border:0;border-radius:0;grid-area:content;min-height:336px;padding:0}.auth-page .actions{background:0 0;border-top:0;grid-area:actions;padding:24px 0 0}.login-confirm-panel,.success-panel{min-height:100%}}.login-prompt{text-align:center}.login-prompt h2{margin-bottom:8px}.login-prompt>p{color:#6b7280;font-size:14px}.wallet-guide{background:#f9fafb;border:1px dashed #d1d5db;border-radius:10px;margin-top:20px;padding:18px}.guide-title{color:#111827;margin:0 0 6px;font-size:15px;font-weight:700}.guide-text{color:#4b5563;margin:0;font-size:14px;line-height:1.55}.guide-text a{color:#2563eb;text-decoration:underline}.auth-loading{flex-direction:column;justify-content:center;align-items:center;gap:18px;min-height:60vh;display:flex}.spinner{border:3px solid #e5e7eb;border-top-color:#2563eb;border-radius:50%;width:40px;height:40px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.auth-loading p{color:#6b7280;margin:0;font-size:15px}.auth-error{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:16px;min-height:60vh;padding:0 16px;display:flex}.error-icon{color:#dc2626;width:56px;height:56px}.error-icon svg{width:100%;height:100%}.auth-error>p{color:#111827;margin:0;font-size:17px;font-weight:600}.auth-error .actions{gap:12px;margin-top:8px;display:flex}.auth-error .actions button{color:#374151;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:8px;padding:10px 20px;font-size:14px;transition:background .15s}.auth-error .actions button:hover{background:#f3f4f6}.auth-error .actions button:last-child{color:#fff;background:#111827;border-color:#111827}.auth-error .actions button:last-child:hover{background:#374151}.wallet-deep-links{flex-direction:column;gap:8px;margin-top:12px;display:flex}.button-link{text-align:center;color:#fff;cursor:pointer;background:#111827;border-radius:6px;padding:10px 14px;font-weight:700;text-decoration:none;transition:background .15s;display:inline-block}.button-link:hover{background:#374151}.button-link.secondary{color:#111827;background:#fff;border:1px solid #d1d5db}.button-link.secondary:hover{background:#f3f4f6}.wallet-icon-buttons{flex-direction:column;gap:10px;margin-top:16px;display:flex}.wallet-icon-btn{color:#111827;background:#fff;border:1px solid #e5e7eb;border-radius:10px;align-items:center;gap:12px;padding:12px 14px;font-size:15px;font-weight:600;text-decoration:none;transition:background .15s,border-color .15s;display:flex}.wallet-icon-btn:hover{background:#f9fafb;border-color:#d1d5db}.wallet-icon-btn img{border-radius:8px;flex-shrink:0;width:36px;height:36px}.wallet-icon-btn span{text-align:left;flex:1}.login-center{text-align:center;flex-direction:column;align-items:center;padding:24px 0 16px;display:flex}.login-icon{background:#eff6ff;border-radius:16px;place-items:center;width:64px;height:64px;margin-bottom:20px;display:grid}.login-icon svg{color:#2563eb;width:32px;height:32px}.login-center h2{margin:0 0 8px;font-size:20px;font-weight:700}.login-subtitle{color:#6b7280;margin:0 0 24px;font-size:14px;line-height:1.5}.login-action{width:min(100%,360px);margin-top:16px}.login-action button{width:100%}.divider{align-items:center;gap:12px;width:100%;max-width:360px;margin:0 auto 16px;display:flex}.divider:before,.divider:after{content:"";background:#e5e7eb;flex:1;height:1px}.divider span{color:#6b7280;white-space:nowrap;font-size:13px;font-weight:500}.wallet-list{flex-direction:column;gap:10px;width:100%;max-width:360px;margin:0 auto;display:flex}.wallet-card{color:#111827;background:#fff;border:1px solid #e5e7eb;border-radius:14px;align-items:center;gap:14px;padding:14px 16px;text-decoration:none;transition:background .15s,border-color .15s,box-shadow .15s;display:flex;box-shadow:0 1px 3px #0000000a}.wallet-card:hover{background:#f9fafb;border-color:#d1d5db;box-shadow:0 4px 12px #0000000f}.wallet-card img{border-radius:10px;flex-shrink:0;width:40px;height:40px}.wallet-name{text-align:left;flex:1;font-size:15px;font-weight:600}.wallet-arrow{color:#9ca3af;flex-shrink:0;width:20px;height:20px}.security-footer{align-items:center;gap:10px;margin-top:24px;padding:12px 16px;display:flex}.security-footer svg{flex-shrink:0;width:24px;height:24px}.security-title{color:#111827;margin:0 0 2px;font-size:13px;font-weight:600}.security-desc{color:#6b7280;margin:0;font-size:12px}
