:root{--bg:#fff;--surface:#f5f7f9;--text:#17202a;--muted:#5b6875;--border:#dde3e8;--accent:#1f6feb;--accent-soft:#e6effd;--danger:#b42318;color:var(--text);background:var(--bg);font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif}*{box-sizing:border-box}body{background:var(--bg);margin:0;line-height:1.5}a{color:var(--accent)}main{max-width:1200px;margin:0 auto;padding:24px 16px 48px}h1{margin:0 0 12px;font-size:2rem;line-height:1.2}h2{margin:32px 0 12px;font-size:1.25rem}.site-header{border-bottom:1px solid var(--border);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 24px;padding:12px 16px;display:flex}.site-header nav{flex-wrap:wrap;gap:16px;display:flex}.site-header a{color:var(--text);text-decoration:none}.brand{font-weight:700}.site-footer{border-top:1px solid var(--border);color:var(--muted);text-align:center;padding:16px;font-size:.875rem}.lead{color:var(--muted);max-width:720px;font-size:1.125rem}.muted{color:var(--muted)}.notice{background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:12px 16px}.grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px;display:grid}.card{border:1px solid var(--border);background:var(--bg);border-radius:8px;padding:16px}.card h3{margin:0 0 4px}.stat{font-size:1.5rem;font-weight:700}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:.9375rem}th,td{text-align:left;border-bottom:1px solid var(--border);white-space:nowrap;padding:8px}td.num,th.num{text-align:right}.button{border:1px solid var(--accent);background:var(--accent);color:#fff;font:inherit;cursor:pointer;border-radius:6px;padding:8px 14px;text-decoration:none;display:inline-block}.button.secondary{background:var(--bg);color:var(--accent)}.button:disabled{cursor:not-allowed;border-color:var(--border);background:var(--surface);color:var(--muted)}.chips{flex-wrap:wrap;gap:6px;display:flex}.chip{background:var(--accent-soft);border-radius:999px;align-items:center;gap:4px;padding:2px 10px;font-size:.875rem;display:inline-flex}.chip button{cursor:pointer;font:inherit;background:0 0;border:0}.explorer{grid-template-columns:minmax(0,1fr) 360px;align-items:start;gap:16px;display:grid}.explorer-map{border:1px solid var(--border);border-radius:8px;height:calc(100vh - 32px);min-height:420px;max-height:960px;position:sticky;top:16px;overflow:hidden}.explorer-map>.map-canvas{position:absolute;inset:0}.map-hint{z-index:1;color:#fff;pointer-events:none;background:#17202acc;border-radius:999px;padding:4px 10px;font-size:.8125rem;position:absolute;top:10px;left:10px}.inline-form{gap:8px;display:flex}.inline-form input{flex:1;min-width:0;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.inline-form button,.selected-cell button{border:1px solid var(--accent);background:var(--bg);color:var(--accent);font:inherit;cursor:pointer;white-space:nowrap;border-radius:6px;padding:6px 10px}.selected-cell{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.selected-cell code{font-size:.875rem}.error{color:var(--danger);font-size:.875rem}.explorer-panel{flex-direction:column;gap:16px;display:flex}.field{flex-direction:column;gap:4px;display:flex}.field label{font-size:.875rem;font-weight:600}select,input[type=search],input[type=text]{font:inherit;border:1px solid var(--border);border-radius:6px;width:100%;padding:6px 8px}.segmented{border:1px solid var(--border);border-radius:6px;display:flex;overflow:hidden}.segmented button{background:var(--bg);font:inherit;cursor:pointer;border:0;flex:1;padding:6px}.segmented button[aria-pressed=true]{background:var(--accent);color:#fff}.suggestions{border:1px solid var(--border);border-radius:6px;max-height:180px;margin:0;padding:0;list-style:none;overflow-y:auto}.suggestions button{text-align:left;width:100%;font:inherit;cursor:pointer;background:0 0;border:0;padding:6px 8px}.suggestions button:hover{background:var(--surface)}.breadcrumbs{flex-wrap:wrap;align-items:center;gap:4px;font-size:.875rem;display:flex}.breadcrumbs button{color:var(--accent);cursor:pointer;font:inherit;background:0 0;border:0;padding:0}@media (max-width:860px){.explorer{grid-template-columns:1fr}.explorer-map{height:60vh;min-height:360px;position:relative;top:auto}h1{font-size:1.5rem}}.nav-account{font-weight:600}.small{font-size:.8125rem}.stack{flex-direction:column;gap:12px;display:flex}.actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.auth-card{flex-direction:column;gap:16px;max-width:420px;display:flex}.option{align-items:baseline;gap:8px;padding:4px 0;display:flex}.option.disabled{color:var(--muted)}fieldset.field{border:1px solid var(--border);border-radius:8px;padding:8px 12px}.button.small{padding:4px 10px;font-size:.875rem}.button.danger{background:var(--danger);border-color:var(--danger)}.dashboard{grid-template-columns:240px minmax(0,1fr);align-items:start;gap:24px;display:grid}.dashboard-side{flex-direction:column;gap:16px;display:flex;position:sticky;top:16px}.dashboard-nav{flex-direction:column;gap:2px;display:flex}.dashboard-nav a,.segmented-links a{color:var(--text);border-radius:6px;padding:8px 10px;text-decoration:none}.dashboard-nav a[aria-current=page],.segmented-links a[aria-current=page]{background:var(--accent-soft);color:var(--accent);font-weight:600}.segmented-links{flex-wrap:wrap;gap:4px;margin-bottom:16px;display:flex}.dashboard-main{min-width:0}.tiles{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin:16px 0;display:grid}.tile{border:1px solid var(--border);background:var(--surface);border-radius:8px;flex-direction:column;gap:4px;padding:16px;display:flex}.tile strong{font-size:1.5rem}.tile-label{color:var(--muted);font-size:.875rem}.facts{grid-template-columns:max-content minmax(0,1fr);gap:6px 16px;display:grid}.facts dt{color:var(--muted)}.facts dd{overflow-wrap:anywhere;margin:0}.status{background:var(--surface);border-radius:999px;padding:2px 8px;font-size:.8125rem;display:inline-block}.status-paid,.status-ready,.status-active{color:#1e6b34;background:#e6f4ea}.status-failed,.status-reversed,.status-revoked{color:var(--danger);background:#fdecea}.secret{flex-direction:column;gap:8px;margin-top:12px;display:flex}.secret code{background:var(--surface);overflow-wrap:anywhere;border-radius:6px;padding:8px}.row-actions{flex-wrap:wrap;gap:6px;display:flex}tr.total td{font-weight:600}.trend{border:1px solid var(--border);border-radius:8px;align-items:flex-end;gap:2px;height:120px;padding:8px;display:flex}.trend-bar{background:var(--accent);border-radius:2px 2px 0 0;flex:1;min-width:2px}@media (max-width:860px){.dashboard{grid-template-columns:1fr}.dashboard-side{position:static}.dashboard-nav{flex-direction:row;overflow-x:auto}.dashboard-nav a{white-space:nowrap}}
