:root{color-scheme:dark;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;line-height:1.5;font-weight:400;background-color:#111315;color:#e5e7eb;--color-accent: #34d399;--color-accent-strong: #059669;--color-surface: rgba(26, 32, 28, .85);--color-surface-strong: rgba(18, 24, 21, .95);--color-surface-muted: rgba(24, 30, 27, .68);--color-surface-soft: rgba(26, 32, 28, .6)}*,*:before,*:after{box-sizing:border-box}body{margin:0;min-height:100vh}a{color:inherit;text-decoration:none}.app-shell{display:flex;flex-direction:column;min-height:100vh}.app-header{display:flex;align-items:center;justify-content:space-between;padding:1rem 2rem;border-bottom:1px solid rgba(148,163,184,.2);background:var(--color-surface);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.brand{font-weight:700;font-size:1.25rem}.brand-accent{color:var(--color-accent)}.app-header nav{display:flex;gap:1.5rem;font-size:.95rem}.app-header nav a{padding-bottom:.25rem;border-bottom:2px solid transparent;transition:border-color .2s ease,color .2s ease}.app-header nav a.active{border-color:var(--color-accent);color:var(--color-accent)}.app-main{flex:1;display:flex;flex-direction:column;min-height:0;padding:2rem;width:100%}.app-footer{padding:1rem 2rem;border-top:1px solid rgba(148,163,184,.2);font-size:.85rem;color:#94a3b8;background:var(--color-surface)}.app-footer.has-status{display:flex;align-items:center}.app-footer.is-error{color:#fca5a5;border-top-color:#fca5a540}.app-footer.is-success{color:#bbf7d0;border-top-color:#bbf7d040}.app-footer__content{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem;width:100%}.app-footer__status{margin:0}.app-footer__info{margin:0;color:#94a3b8}.page{display:flex;flex-direction:column;gap:1.5rem;width:100%;max-width:960px;margin:0 auto}.sandbox-page{max-width:none;width:100%;margin:0;gap:1rem;flex:1;min-height:0;display:flex;flex-direction:column}.page h1{margin:0;font-size:1.75rem}.grid{display:grid;gap:1.5rem}.grid.two-col{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}.section-card{background:var(--color-surface);border:1px solid rgba(148,163,184,.2);border-radius:.75rem;padding:1.5rem;display:flex;flex-direction:column;gap:1rem;box-shadow:0 18px 45px -30px #34d39959}.section-card header{display:flex;align-items:baseline;justify-content:space-between}.section-card h3{margin:0}.section-card .content{display:flex;flex-direction:column;gap:1rem}.trace-form{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));align-items:end}.trace-form label{display:flex;flex-direction:column;font-weight:600;gap:.5rem}.trace-form input,.trace-form select{padding:.55rem .75rem;border-radius:.5rem;border:1px solid rgba(148,163,184,.3);background:var(--color-surface-soft);color:inherit}.trace-form button{padding:.65rem 1rem;border-radius:.6rem;border:none;font-weight:600;background:linear-gradient(120deg,var(--color-accent),var(--color-accent-strong));color:#051b12;cursor:pointer;transition:transform .15s ease}.trace-form button:disabled{opacity:.6;cursor:not-allowed}.trace-form button:not(:disabled):hover{transform:translateY(-1px)}.error-text{color:#fca5a5;margin:0}.graph-error{margin-top:.25rem}.timeline-placeholder{display:flex;flex-direction:column;gap:.75rem}.trace-graph{position:relative;display:flex;flex-direction:column;width:100%;flex:0 0 auto;--graph-stage-height: min(900px, max(520px, calc(100vh - 12rem) ));min-height:var(--graph-stage-height)}.graph-stage{position:relative;flex:0 0 auto;height:var(--graph-stage-height);border-radius:.75rem;border:1px solid rgba(148,163,184,.2);background:radial-gradient(circle at top,rgba(148,163,184,.12),transparent 65%),#141a17b3;overflow:hidden}.graph-stage svg{position:absolute;inset:0;width:100%;height:100%}.graph-case-controls{position:absolute;top:16px;left:16px;display:flex;flex-direction:column;gap:.5rem;z-index:3}.graph-case-button{padding:.5rem .85rem;border-radius:.6rem;border:1px solid rgba(52,211,153,.35);background:#0f1714d9;color:var(--color-accent);font-weight:600;cursor:pointer;transition:transform .15s ease,box-shadow .2s ease;min-width:140px}.graph-case-button:disabled{opacity:.6;cursor:not-allowed;box-shadow:none}.graph-case-button:hover{transform:translateY(-1px);box-shadow:0 10px 30px -18px #34d399bf}.graph-case-select{padding:.45rem .65rem;border-radius:.55rem;border:1px solid rgba(148,163,184,.35);background:#0f1714d9;color:inherit;font-size:.85rem;min-width:140px;appearance:none}.graph-case-select:focus{outline:2px solid rgba(52,211,153,.45);outline-offset:2px}.graph-case-message{margin:0;font-size:.75rem;color:#94a3b8;max-width:240px;line-height:1.2}.graph-case-message--error{color:#fca5a5}.graph-loading-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:#080c0bb8;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:6}.graph-loading-spinner{width:56px;height:56px;border-radius:50%;border:4px solid rgba(52,211,153,.25);border-top-color:var(--color-accent);animation:graph-spin 1s linear infinite}@keyframes graph-spin{to{transform:rotate(360deg)}}.graph-case-brief{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:min(440px,calc(100% - 3rem));padding:1.5rem 1.75rem;border-radius:.9rem;border:1px solid rgba(52,211,153,.25);background:#0c1210eb;box-shadow:0 30px 60px -35px #0f2718e6;display:flex;flex-direction:column;gap:1rem;z-index:6}.graph-case-brief h2{margin:0;font-size:1.2rem;font-weight:600}.graph-case-brief p{margin:0;font-size:.95rem;line-height:1.6;color:#d1d5db}.graph-case-brief__wallet{font-family:Fira Code,Source Code Pro,monospace;color:var(--color-accent)}.graph-case-brief__close{position:absolute;top:.75rem;right:.9rem;background:none;border:none;color:#94a3b8;font-size:1.5rem;cursor:pointer}.graph-case-brief__close:hover{color:var(--color-accent)}.graph-check-button-wrapper{position:absolute;top:12px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:.75rem;z-index:5}.graph-check-button{padding:.5rem 1.1rem;border-radius:.75rem;border:1px solid rgba(52,211,153,.5);background:#0c1210d9;color:var(--color-accent);font-weight:600;cursor:pointer;transition:transform .15s ease,box-shadow .2s ease}.graph-check-button:disabled{opacity:.65;cursor:not-allowed}.graph-check-button:not(:disabled):hover{transform:translateY(-1px);box-shadow:0 12px 40px -30px #34d399cc}.graph-check-feedback{margin:0;font-size:.8rem;color:#d1d5db;max-width:320px}.graph-success-modal{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:#080c0bb3;z-index:7}.graph-success-card{background:#0d1411f2;border:1px solid rgba(52,211,153,.35);border-radius:1rem;padding:1.75rem 2rem;text-align:center;box-shadow:0 24px 50px -32px #0f2718d9;display:flex;flex-direction:column;gap:1rem;max-width:360px}.graph-success-card h2{margin:0;font-size:1.4rem;color:var(--color-accent)}.graph-success-card p{margin:0;color:#d1d5db;font-size:.95rem}.graph-success-card button{align-self:center;padding:.45rem 1.1rem;border-radius:.7rem;border:none;background:linear-gradient(120deg,var(--color-accent),var(--color-accent-strong));color:#04120c;font-weight:600;cursor:pointer}.graph-success-card button:hover{filter:brightness(1.05)}.graph-success-actions{display:flex;gap:.75rem;justify-content:center}.graph-success-actions button{flex:1 1 auto;align-self:stretch}.graph-toolbar{position:absolute;bottom:16px;left:16px;display:flex;flex-direction:column;align-items:stretch;gap:.5rem;z-index:3}.graph-toolbar__button{padding:.45rem .6rem;border-radius:.6rem;border:1px solid rgba(52,211,153,.35);background:#0f1714d9;color:var(--color-accent);font-size:.8rem;font-weight:600;cursor:pointer;transition:transform .15s ease,box-shadow .2s ease;display:flex;align-items:center;justify-content:center;min-width:48px;width:48px;height:48px}.graph-toolbar__button:hover{transform:translateY(-1px);box-shadow:0 10px 30px -18px #34d399bf}.graph-toolbar__button:disabled{opacity:.6;cursor:not-allowed}.graph-toolbar__icon{font-family:Fira Code,Source Code Pro,monospace;letter-spacing:.08em;font-size:.75rem}.graph-action-buttons{position:absolute;top:16px;right:16px;z-index:3;display:flex;gap:.5rem}.graph-action-button{width:42px;height:42px;border-radius:50%;border:1px solid rgba(52,211,153,.4);background:#141a17c7;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:transform .15s ease,box-shadow .2s ease;color:var(--color-accent)}.graph-action-button:hover{transform:translateY(-1px);box-shadow:0 10px 30px -18px #34d399bf}.graph-action-icon{color:var(--color-accent);font-size:1.6rem;line-height:1;margin-top:-2px}.graph-action-button:focus-visible{outline:2px solid var(--color-accent);outline-offset:2px}.graph-action-button:disabled{opacity:.5;cursor:not-allowed;transform:none;box-shadow:none}.graph-reset-button{border-radius:.6rem;border-color:#f8717173;color:#f8fafc;height:38px;padding:0 .85rem;width:auto;font-size:.85rem;font-weight:500}.graph-reset-button:hover:not(:disabled){box-shadow:0 10px 30px -18px #f87171bf}.graph-empty{display:grid;place-items:center;height:100%;padding:2rem;color:#94a3b8cc;font-size:.95rem;text-align:center}.graph-node-label{pointer-events:none;font-weight:600;text-shadow:0 0 6px rgba(12,18,14,.9),0 0 12px rgba(12,18,14,.7)}.graph-node-label .graph-node-role{fill:#cbd5f5;font-weight:500;font-size:.85em}.graph-link-label{pointer-events:none;fill:#f8fafc;font-size:9px;font-weight:600;letter-spacing:.05em}.graph-link-label textPath{fill:inherit}.graph-node-panel{position:absolute;z-index:3;width:min(320px,calc(100% - 2rem));padding:1rem 1.25rem 1.25rem;display:flex;flex-direction:column;gap:.75rem;border-radius:.75rem;border:1px solid rgba(148,163,184,.35);background:var(--color-surface-strong);box-shadow:0 24px 60px -35px #0f2718a6;cursor:default}.graph-node-panel__header{display:flex;align-items:center;justify-content:space-between;gap:1rem;cursor:grab}.graph-node-panel__header:active{cursor:grabbing}.panel-title{display:flex;flex-direction:column;gap:.25rem;pointer-events:none}.panel-title strong{font-size:1rem}.panel-kind{font-size:.75rem;letter-spacing:.08em;text-transform:uppercase;color:#94a3b8}.address-details-panel{position:absolute;top:0;bottom:0;left:0;min-width:260px;max-width:min(64%,520px);padding:1.25rem 1.5rem 1.5rem;display:flex;flex-direction:column;gap:1rem;border-right:1px solid rgba(148,163,184,.25);background:var(--color-surface-strong);box-shadow:18px 0 45px -32px #0f271899;z-index:4}.address-details-resize-handle{position:absolute;top:0;right:0;bottom:0;width:12px;cursor:ew-resize;background:transparent;z-index:2}.address-details-panel__header{display:flex;align-items:center;justify-content:space-between;gap:1rem}.address-details-heading{display:flex;flex-direction:column;gap:.25rem}.address-details-kind{font-size:.75rem;letter-spacing:.08em;text-transform:uppercase;color:#94a3b8}.address-details-title{margin:0;font-size:1.1rem;font-weight:600;letter-spacing:.02em}.address-details-meta{display:flex;flex-direction:column;gap:.75rem}.address-details-row{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.address-details-label{font-size:.75rem;text-transform:uppercase;letter-spacing:.08em;color:#94a3b8;min-width:90px}.address-details-value{font-size:.9rem;line-height:1.4;flex:1}.address-details-value--mono{font-family:Fira Code,Source Code Pro,monospace;word-break:break-all}.address-details-copy{border:1px solid rgba(52,211,153,.5);background:#34d3992e;color:#d1fae5;border-radius:.5rem;padding:.35rem .6rem;font-size:.75rem;cursor:pointer;transition:background .15s ease,border-color .15s ease}.address-details-copy:hover{background:#34d39942;border-color:#34d399bf}.address-details-copy:focus-visible{outline:2px solid rgba(52,211,153,.65);outline-offset:2px}.address-details-copy-feedback{font-size:.75rem;font-weight:600;letter-spacing:.02em}.address-details-copy-feedback.is-success{color:#22c55e}.address-details-copy-feedback.is-error{color:#f97316}.address-details-actions{display:flex;align-items:center;gap:.5rem}.address-details-mark{padding:.35rem .75rem;border-radius:.6rem;border:1px solid rgba(52,211,153,.4);background:#0a100ed9;color:var(--color-accent);font-size:.8rem;font-weight:600;cursor:pointer;transition:transform .15s ease,box-shadow .2s ease}.address-details-mark:hover{transform:translateY(-1px);box-shadow:0 14px 30px -28px #34d399e6}.address-details-mark:disabled{opacity:.55;cursor:not-allowed;box-shadow:none}.address-details-summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:.75rem;padding:1rem 1.2rem;border-radius:.75rem;border:1px solid rgba(148,163,184,.2);background:#141a17c7}.address-details-summary-item{display:flex;flex-direction:column;gap:.25rem}.summary-label{font-size:.75rem;text-transform:uppercase;letter-spacing:.08em;color:#94a3b8}.address-details-section{display:flex;flex-direction:column;gap:.75rem;flex:1;min-height:0}.address-details-section__header{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.address-details-section__header h3{margin:0;font-size:.95rem;font-weight:600}.address-details-section__meta{font-size:.75rem;color:#94a3b8}.address-details-table-wrapper{border-radius:.75rem;border:1px solid rgba(148,163,184,.2);background:#0b100ea6;overflow:auto;flex:1;min-height:0}.address-details-table{width:100%;border-collapse:collapse;font-size:.8rem}.address-details-table thead{background:#0f1714bf;text-transform:uppercase;letter-spacing:.06em;font-size:.7rem;color:#94a3b8}.address-details-table th,.address-details-table td{padding:.65rem .85rem;border-bottom:1px solid rgba(148,163,184,.12);vertical-align:top}.address-details-table th:nth-child(7),.address-details-table td:nth-child(7),.address-details-table th:nth-child(8),.address-details-table td:nth-child(8){text-align:right}.address-details-table tbody tr:hover{background:#34d3990f}.address-details-table tr.is-selected{background:#34d3991f}.address-details-table__hash{font-family:Fira Code,Source Code Pro,monospace;white-space:nowrap;min-width:11ch}.address-details-table__datetime{white-space:nowrap;font-variant-numeric:tabular-nums}.address-details-table__datetime span{display:block;line-height:1.2}.address-details-table input[type=checkbox]{accent-color:var(--color-accent);cursor:pointer}.graph-nodes g.is-destination-marked circle,.graph-nodes g.is-destination-marked rect{stroke:#facc15;stroke-width:3px;filter:drop-shadow(0 0 12px rgba(250,204,21,.65))}.address-details-empty{margin:0;font-size:.85rem;color:#cbd5f5}.panel-close{background:none;border:none;color:#94a3b8;font-size:1.25rem;line-height:1;cursor:pointer;padding:0}.panel-close:hover{color:#f8fafc}.panel-actions{display:flex;gap:.75rem}.panel-actions button{flex:1;padding:.55rem .85rem;border-radius:.65rem;border:none;font-weight:600;background:linear-gradient(120deg,var(--color-accent),var(--color-accent-strong));color:#051b12;cursor:pointer;transition:transform .15s ease,opacity .2s ease}.panel-actions button.secondary{background:var(--color-surface-soft);color:#e2e8f0;border:1px solid rgba(148,163,184,.35)}.panel-actions button:disabled{opacity:.6;cursor:not-allowed;transform:none}.panel-actions button:not(:disabled):hover{transform:translateY(-1px)}.panel-note{margin:0;font-size:.85rem;color:#94a3b8}.panel-details{max-height:240px;overflow:auto;padding-right:.5rem}.panel-details dl{margin:0;display:grid;gap:.5rem}.panel-detail-row{display:flex;flex-direction:column;gap:.25rem}.panel-detail-row dt{font-size:.75rem;letter-spacing:.08em;text-transform:uppercase;color:#94a3b8}.panel-detail-row dd{margin:0;font-family:Fira Code,Source Code Pro,monospace;font-size:.8rem;word-break:break-word;white-space:pre-wrap}.panel-error{margin:.25rem 0 0;font-size:.85rem;color:#fca5a5}.graph-nodes g.is-selected circle,.graph-nodes g.is-selected rect{stroke-width:2.25px}.graph-nodes g.is-selected circle{stroke:#fbbf24}.graph-nodes g.is-selected rect{stroke:#fbbf24}.graph-nodes g.has-transaction-highlight circle,.graph-nodes g.has-transaction-highlight rect{stroke:#facc15;stroke-width:3px;filter:drop-shadow(0 0 8px rgba(250,204,21,.55))}.graph-seed-panel{position:absolute;top:72px;right:16px;width:min(360px,calc(100% - 2rem));padding:1.25rem;border-radius:.85rem;border:1px solid rgba(52,211,153,.4);background:var(--color-surface-strong);box-shadow:0 28px 60px -28px #0f271899;display:flex;flex-direction:column;gap:1rem;z-index:4}.seed-form{display:flex;flex-direction:column;gap:.75rem}.seed-form label{display:flex;flex-direction:column;gap:.35rem;font-size:.9rem}.seed-form input,.seed-form select{padding:.6rem .75rem;border-radius:.6rem;border:1px solid rgba(148,163,184,.35);background:#141a17b3;color:inherit}.seed-form input:focus,.seed-form select:focus{outline:2px solid rgba(52,211,153,.6);outline-offset:2px}.timeline-placeholder ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.5rem}.timeline-placeholder li{display:flex;justify-content:space-between;padding:.5rem .75rem;border-radius:.5rem;background:var(--color-surface-soft);border:1px solid rgba(148,163,184,.15)}.event-type{font-weight:600}.event-time{color:#94a3b8}code{font-family:Fira Code,Source Code Pro,monospace;background:var(--color-surface-soft);border-radius:.35rem;padding:.1rem .35rem}.muted{color:#94a3b8}.key-value-list{display:grid;gap:.75rem;margin:0}.key-value-row{display:grid;grid-template-columns:160px 1fr;gap:.75rem;align-items:baseline}.key-value-row dt{margin:0;font-weight:600;color:#cbd5f5;text-transform:capitalize}.key-value-row dd{margin:0;color:#e2e8f0}.event-meta{display:flex;justify-content:space-between}.event-extra{margin-top:.35rem;font-size:.85rem;color:#cbd5f5}
