:root{--bg:#f4f7fb;--paper:#fff;--ink:#263445;--muted:#718096;--line:#d6e0ed;--blue:#2563eb;--green:#087d45;--red:#d42d45;--tint:#edf3ff}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:13px/1.45 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-variant-numeric:tabular-nums}a{color:#195dc3;text-decoration:none}a:hover{text-decoration:underline}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}input,select{border:1px solid #ccd8e8;background:white;color:var(--ink);border-radius:6px;padding:7px 9px;min-height:32px}input:focus,select:focus,button:focus-visible{outline:2px solid #9bbdf5;outline-offset:2px}.button{border:1px solid #cbd8e8;border-radius:6px;padding:6px 11px;min-height:32px;background:white;color:var(--ink);font-weight:600;white-space:nowrap}.button:hover{background:#edf3ff;border-color:#9ab8e4}.button.primary{background:var(--blue);border-color:var(--blue);color:white}.button.primary:hover{background:#174fc9}.button.quiet{background:transparent}.text-button{padding:3px 0;border:0;background:none;color:#2459b6;font-size:12px}.small{font-size:11px}.muted{color:var(--muted)}.positive{color:var(--green)}.negative{color:var(--red)}[hidden]{display:none!important}.app-header{height:72px;display:flex;align-items:center;justify-content:space-between;padding:0 32px;border-bottom:1px solid var(--line);background:#fff}.brand{display:flex;align-items:center;gap:10px;color:var(--ink);font-size:16px;font-weight:750;letter-spacing:-.2px}.brand:hover{text-decoration:none}.brand-mark{display:grid;place-items:center;width:34px;height:34px;background:#e9f0ff;color:#1c5bc5;border:1px solid #cbdaf5;border-radius:8px;font-size:19px}.brand small{display:block;font-size:10px;font-weight:400;color:var(--muted);letter-spacing:0;margin-top:1px}.header-right{display:flex;align-items:center;gap:16px}.free-pill{background:#edf7f1;border:1px solid #cde6d8;color:#18764c;border-radius:20px;padding:4px 9px;font-size:10px;font-weight:650}.local-dot{color:var(--muted);font-size:11px}.local-dot:before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:#38a673;margin-right:6px}.home{max-width:1120px;margin:0 auto;padding:58px 30px}.eyebrow{text-transform:uppercase;letter-spacing:1.6px;color:#4c73a9;font-size:10px;font-weight:650}h1{font-size:38px;letter-spacing:-1.3px;line-height:1.15;margin:13px 0}h2{font-size:16px;margin:0}h3{font-size:12px;margin:0 0 8px}.intro>p{font-size:15px;color:var(--muted);margin:0 0 32px}.card{background:white;border:1px solid var(--line);border-radius:10px}.new-report{padding:23px 24px 0;box-shadow:0 5px 18px #203c6a05}.wallet-input-label{display:block;font-size:11px;font-weight:650;margin-bottom:7px}.wallet-input-row{display:flex;align-items:end;gap:12px}.wallet-input-row>input{flex:1;min-width:0;height:45px;font-family:ui-monospace,SFMono-Regular,monospace;font-size:13px;padding:10px 12px}.wallet-input-row>.primary{height:45px;min-width:165px;text-align:left;padding:10px 15px}.wallet-input-row>.primary span{float:right;margin-left:14px}.token-count{display:flex;flex-direction:column;font-size:10px;color:var(--muted);gap:4px}.token-count input{width:80px;height:45px;font-size:14px}.form-help{color:var(--muted);font-size:11px;margin:11px 0 16px}.error{color:var(--red);font-size:12px}.error:empty{display:none}.new-report-footer{border-top:1px solid #e8edf5;display:flex;justify-content:space-between;align-items:center;padding:12px 0;color:var(--muted);font-size:10px}.history-section{margin-top:36px}.section-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:13px}.section-title>span{font-size:11px;color:var(--muted)}.job-list{display:flex;flex-direction:column;gap:9px}.job-card{display:grid;grid-template-columns:1fr auto;gap:10px 20px;padding:16px 18px;border:1px solid var(--line);border-radius:8px;background:#fff}.job-card .wallet{font:12px ui-monospace,SFMono-Regular,monospace;overflow-wrap:anywhere}.job-meta{display:flex;gap:12px;flex-wrap:wrap;color:var(--muted);font-size:10px;margin:6px 0}.job-actions{display:flex;gap:7px;align-items:center;justify-content:flex-end;grid-column:2;grid-row:1/3}.job-progress{grid-column:1;font-size:11px}.job-status{font-size:10px;font-weight:650;border-radius:4px;padding:2px 6px;background:#edf2fa;color:#52709b}.job-status.completed{background:#eaf6ef;color:var(--green)}.job-status.failed,.job-status.waiting{background:#fff2e4;color:#986416}.progress-track{height:4px;background:#e9eef6;border-radius:10px;margin:7px 0 4px;overflow:hidden}.progress-fill{height:100%;background:#548bea;border-radius:10px;transition:width .3s}.job-error{font-size:11px;color:#9d5c21;max-width:650px}.home-note{margin-top:28px;color:var(--muted);font-size:10px}.empty{text-align:center;padding:35px;color:var(--muted)}.report-view{height:100dvh;padding:8px;display:flex;flex-direction:column;gap:6px}.report-heading{display:flex;align-items:center;gap:12px;min-height:32px}.back-link{font-size:11px;white-space:nowrap}.report-identity{display:flex;align-items:center;gap:7px;min-width:0}.report-identity strong{font:11px ui-monospace,SFMono-Regular,monospace;overflow:hidden;text-overflow:ellipsis}.report-identity .button{font-size:10px;min-height:25px;padding:2px 6px}.report-identity>a{font-size:10px;white-space:nowrap}#report-asof{margin-left:auto;font-size:10px;color:var(--muted);white-space:nowrap}.scope-bar{display:flex;align-items:center;gap:8px;padding:5px 7px;border:1px solid #cbd9ed;background:#edf3fc;border-radius:4px;font-size:10px;min-height:29px}.scope-bar strong{white-space:nowrap}.filter-chips{display:flex;gap:4px;flex:1;flex-wrap:wrap;max-height:44px;overflow:auto}.filter-chip{background:#fff;border:1px solid #bfd2ed;padding:2px 5px;color:#315f9b;border-radius:4px;font-size:9px;max-width:250px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.scope-bar>.text-button{font-size:10px;margin-left:auto;white-space:nowrap}.metrics{display:grid;grid-template-columns:1.4fr repeat(7,minmax(0,1fr));gap:4px}.metric-card{background:white;border:1px solid var(--line);border-radius:5px;padding:7px 8px;min-width:0}.metric-card:first-child{background:#fcfffd;border-color:#b5d3c0}.metric-label{font-size:9px;color:var(--muted);white-space:nowrap}.metric-value{font-size:18px;font-weight:750;letter-spacing:-.4px;line-height:1.3;margin:5px 0}.metric-note{font-size:9px;color:var(--muted)}.report-workspace{display:grid;grid-template-columns:minmax(0,1fr) 10px var(--stats-width,440px);gap:0;flex:1;min-height:0}.report-main{display:flex;flex-direction:column;min-width:0;min-height:0}.report-tabs{display:flex;gap:4px;align-items:center;padding:0 0 6px}.report-tabs>button{border:1px solid #cbd8e8;background:white;border-radius:5px;padding:5px 11px;font-size:11px;font-weight:600;color:#4a5e78}.report-tabs>button.active{background:#e5eefc;border-color:#adc4e8;color:#1f5bac}.balances-toggle{margin-left:auto;display:flex;align-items:center;font-size:10px;color:var(--muted);gap:4px;white-space:nowrap}.balances-toggle input{min-height:0}.table-toolbar{display:flex;align-items:end;gap:6px;border:1px solid var(--line);border-bottom:0;background:#fff;padding:7px;border-radius:5px 5px 0 0;flex-wrap:wrap}.table-toolbar>input{flex:1;min-width:180px;font-size:11px;min-height:29px}.table-toolbar label{font-size:9px;color:var(--muted);display:flex;flex-direction:column;gap:2px}.table-toolbar select{font-size:10px;min-height:28px;padding:4px}.table-toolbar .button{min-height:28px;font-size:10px;padding:3px 8px}.report-table-wrap{flex:1;min-height:0;overflow:auto;border:1px solid var(--line);background:#fff;border-radius:0 0 5px 5px}table{border-collapse:separate;border-spacing:0;width:100%;font-size:11px}th,td{border-bottom:1px solid #dce5f0;border-right:1px solid #dce5f0;padding:6px 7px;text-align:left;vertical-align:middle;line-height:1.4}th:last-child,td:last-child{border-right:0}th{position:sticky;top:0;z-index:2;background:#eaf0f7;font-size:10px;font-weight:650;white-space:nowrap;color:#53677d}.th-content{display:flex;gap:7px;align-items:center;justify-content:space-between}.funnel{display:grid;place-items:center;width:22px;height:22px;padding:3px;min-height:22px;border:1px solid transparent;background:transparent;color:#72839b;border-radius:4px}.funnel:hover{background:white;border-color:#c3d4ec}.funnel.filtered{background:#d6e7ff;color:#145fcd;border-color:#99bdee}#report-table{min-width:1100px}#report-table tbody tr:hover{background:#f0f5fc;cursor:pointer}.number{text-align:right;white-space:nowrap}.cell-sub{display:block;font-size:9px;color:var(--muted);margin-top:2px;white-space:nowrap}.mono{font:10px ui-monospace,SFMono-Regular,monospace;overflow-wrap:anywhere}.tag{font-size:9px;font-weight:600;border-radius:4px;padding:3px 5px;background:#eef2f8;white-space:nowrap}.tag.buy{color:var(--green);background:#e9f5ee}.tag.sell{color:var(--red);background:#fcecee}.pagination{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:6px;font-size:10px;color:var(--muted)}.pagination>div{display:flex;align-items:center;gap:5px}.pagination .button{min-height:25px;font-size:10px;padding:2px 7px}.statistics{background:white;border:1px solid var(--line);border-radius:5px;overflow:auto;padding:10px;min-width:0}.stats-title{display:flex;align-items:center;justify-content:space-between}.stats-title h2{font-size:12px}.segmented{display:flex}.segmented button{border:1px solid #c3d2e7;background:#fff;font-size:10px;padding:4px 11px;min-height:25px}.segmented button:first-child{border-radius:4px 0 0 4px}.segmented button:last-child{border-radius:0 4px 4px 0}.segmented button.active{background:#e5eefc;color:#1d5dba}.stat-featured{display:grid;grid-template-columns:1fr 1fr;gap:5px}.stat-featured>div{padding:7px;background:#f7f9fc;border:1px solid #dce5f0;border-radius:4px;min-width:0}.stat-featured span{display:block;font-size:9px;color:var(--muted)}.stat-featured strong{display:block;margin-top:4px;font-size:16px}.equity-chart{margin:9px 0;border:1px solid #e1e8f1;border-radius:4px;min-height:105px;padding:4px}.equity-chart svg{width:100%;height:100px;display:block}.equity-chart p{font-size:10px;color:var(--muted);padding:10px}.stats-block{border-top:1px solid #e0e7f0;padding-top:9px;margin-top:9px}.stats-block>select{width:100%;font-size:11px;min-height:27px}.month-total{font-size:19px;font-weight:750;margin:7px 0}.mini-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}.weekday{text-align:center;color:var(--muted);font-size:9px;padding:3px 0}.calendar-cell{min-height:47px;padding:4px 3px;border:1px solid #e0e6ef;border-radius:3px;text-align:left;background:#f7f9fc;display:flex;flex-direction:column;gap:4px;overflow:hidden}.calendar-cell small{color:var(--muted);font-size:9px}.calendar-cell strong{font-size:10px;white-space:nowrap}.calendar-cell.positive{background:#edf8f1;border-color:#d1e7da}.calendar-cell.negative{background:#fff0f2;border-color:#efd6dc}.calendar-cell.incomplete{background:#fff9ee;color:#9a6d2f}.fact-list{display:grid;grid-template-columns:1fr auto;gap:7px;font-size:10px}.fact-list>div:nth-child(odd){color:var(--muted)}.fact-list>div:nth-child(even){text-align:right;font-weight:550}.mini-table{font-size:10px}.mini-table th{position:static;background:#f6f8fc}.mini-table td,.mini-table th{font-size:10px;padding:5px}.mini-table td:last-child{text-align:right;white-space:nowrap}.quality{overflow:auto;background:white;border:1px solid var(--line);border-radius:5px;padding:16px;flex:1}.quality h2{font-size:16px;margin-bottom:10px}.quality p,.quality li{font-size:12px;line-height:1.7}.quality article{margin-bottom:20px}.quality .warning{padding:9px;background:#fff7e9;border:1px solid #e8d6af;border-radius:5px}dialog{padding:0;border:1px solid #c6d5e8;border-radius:8px;color:var(--ink);max-height:90vh;max-width:850px;width:calc(100vw - 40px)}dialog::backdrop{background:#1b304b55}dialog>header{display:flex;align-items:center;justify-content:space-between;padding:12px 15px;border-bottom:1px solid var(--line);background:#f7f9fd;position:sticky;top:0;z-index:2}#details{position:fixed;inset:0 0 0 auto;margin:0;width:min(850px,90vw);height:100dvh;max-height:100dvh;border-radius:0;border-right:0;max-width:none}#detail-content{padding:15px}.detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-bottom:16px}.detail-grid>div{padding:9px;background:#f6f9fd;border:1px solid #dbe5f1;border-radius:4px;min-width:0}.detail-grid small{display:block;color:var(--muted);font-size:10px;margin-bottom:5px}.detail-grid strong{font-size:12px;overflow-wrap:anywhere}pre{padding:12px;border:1px solid #dbe4ef;background:#f5f8fc;overflow:auto;font-size:10px;white-space:pre-wrap;word-break:break-word;border-radius:5px}#settings{max-width:540px}.settings-body{padding:18px;font-size:12px}.settings-body>label{display:flex;flex-direction:column;gap:5px;font-size:10px;margin:16px 0 9px}.settings-free{margin-top:20px;padding:12px;background:#f4f8ff;border:1px solid #d6e2f5;border-radius:5px}.settings-free p{margin-bottom:0;font-size:11px;color:var(--muted)}.filter-popover{position:fixed;z-index:80;width:280px;max-height:85vh;overflow:auto;background:white;border:1px solid #b7cbe7;border-radius:6px;box-shadow:0 10px 35px #1e385e33;padding:12px}.filter-popover header{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:7px}.filter-popover label{display:flex;flex-direction:column;font-size:10px;color:var(--muted);gap:3px;margin:7px 0}.filter-popover input,.filter-popover select{font-size:11px;min-height:29px;width:100%}.filter-popover footer{display:flex;justify-content:space-between;gap:8px;margin-top:12px}.filter-popover p{font-size:10px;color:var(--muted)}.toast{position:fixed;bottom:18px;left:50%;transform:translateX(-50%);background:#23374f;color:white;border-radius:6px;padding:10px 16px;z-index:100;font-size:12px;box-shadow:0 5px 20px #10233b25}.mobile-only{display:none}.hide-stats .report-workspace{grid-template-columns:1fr}.hide-stats .statistics{display:none}@media(min-width:1800px){.report-workspace{grid-template-columns:minmax(0,1fr) 10px var(--stats-width,552px)}}@media(max-width:1400px){.metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.report-workspace{grid-template-columns:minmax(0,1fr) 10px var(--stats-width,360px)}.metric-value{font-size:17px}}@media(max-width:1000px){.report-workspace{display:flex}.report-main{flex:1}.statistics{display:none;position:fixed;right:0;top:0;bottom:0;width:min(440px,94vw);z-index:50;box-shadow:-8px 0 30px #20395a30;border-radius:0}.mobile-stats .statistics{display:block}.mobile-only{display:inline-block}#report-asof{display:none}.app-header{padding:0 16px}.local-dot{display:none}.home{padding:35px 18px}.job-actions{grid-row:auto;grid-column:1/-1;justify-content:flex-start}.report-identity strong{max-width:250px}}@media(max-width:600px){.app-header{height:61px;padding:0 12px}.brand{font-size:14px}.brand small{font-size:9px}.header-right{gap:7px}.header-right .button{font-size:10px}.free-pill{display:none}.home{padding:28px 12px}h1{font-size:30px}.intro>p{font-size:13px}.new-report{padding:17px 14px 0}.wallet-input-row{flex-wrap:wrap;gap:8px}.wallet-input-row>input{flex-basis:calc(100% - 90px);font-size:11px}.wallet-input-row>.primary{width:100%;text-align:center}.wallet-input-row>.primary span{float:none}.new-report-footer{gap:12px;align-items:flex-start}.report-view{height:100dvh;padding:5px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.metric-card{padding:5px 7px}.metric-value{font-size:17px;margin:3px 0}.report-heading{gap:7px;flex-wrap:wrap}.report-identity strong{max-width:150px}.report-identity>a{display:none}.scope-bar{flex-wrap:wrap}.filter-chips{flex-basis:100%;order:3}.report-tabs{gap:3px;flex-wrap:wrap}.report-tabs>button{font-size:10px;padding:4px 6px}.balances-toggle{font-size:9px}.detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.table-toolbar>input{min-width:140px}.section-title>span{font-size:9px}}

/* Table sorting shares state with the toolbar; filters keep their own control. */
#report-table th{cursor:pointer}
.sort-header{display:flex;align-items:center;gap:7px;flex:1;align-self:stretch;border:0;background:transparent;color:inherit;font:inherit;font-weight:inherit;padding:2px 0;text-align:left;white-space:nowrap;min-height:22px}
.sort-header:hover,.sort-header.sorted{color:var(--blue)}
.sort-indicator{font-size:12px;font-weight:700;color:#8c9db3;min-width:10px}
.sort-header.sorted .sort-indicator{color:var(--blue)}
.entry-breakdown>p{margin:6px 0 8px;line-height:1.5}
.entry-breakdown .mini-table td,.entry-breakdown .mini-table th{padding:5px 4px}
.entry-breakdown .mini-table td:first-child{white-space:nowrap}
.entry-breakdown .mini-table th:not(:first-child){text-align:right}
.entry-breakdown .cell-sub{margin-top:0;font-size:9px;font-weight:400}

body.report-open .app-header{display:none}
body.report-open .report-view{height:100dvh}

.pane-divider{position:relative;display:flex;align-items:center;justify-content:center;min-height:0;cursor:col-resize;touch-action:none;border-radius:4px}
.pane-divider::before{content:"";position:absolute;top:0;bottom:0;width:1px;background:#c3d1e2}
.pane-divider::after{content:"";position:relative;width:4px;height:36px;border-radius:4px;background:#9bafc9;box-shadow:0 0 0 2px var(--bg)}
.pane-divider:hover::before,.pane-divider:hover::after,.pane-divider:focus-visible::after,.resizing-panes .pane-divider::before,.resizing-panes .pane-divider::after{background:var(--blue)}
.pane-divider:focus-visible{outline:2px solid #9bbdf5;outline-offset:-2px}
body.resizing-panes,body.resizing-panes *{cursor:col-resize!important;user-select:none!important}
.hide-stats .pane-divider{display:none}
@media(max-width:1000px){.pane-divider{display:none}}

.report-tabs h2{font-size:12px;color:#4a5e78;padding:5px 0}

.token-cell{display:flex;align-items:center;gap:9px;min-width:170px}
.token-avatar{position:relative;display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;overflow:hidden;border:1px solid #d6e0ed;border-radius:50%;background:#eaf0f8;color:#55739d;font-size:13px;font-weight:700}
.token-avatar-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;background:#fff;opacity:0}
.token-avatar-image.loaded{opacity:1}
.token-identity{display:flex;flex-direction:column;align-items:flex-start;gap:3px;min-width:0;max-width:220px}
.token-name{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:650;color:#195dc3}
.token-contract{display:inline-flex;align-items:center;gap:5px;max-width:100%;padding:0;min-height:16px;border:0;border-radius:2px;background:transparent;color:var(--muted);white-space:nowrap;text-align:left}
.token-contract:hover{color:var(--blue)}
.token-contract.copied{color:var(--green)}
.token-contract svg{flex-shrink:0;opacity:.75}
.clipboard-fallback{position:fixed;left:-9999px;top:0;width:1px;height:1px;opacity:0}

.selection-control{display:flex;flex-direction:column;font-size:10px;color:var(--muted);gap:4px}
.selection-control select{height:45px;font-size:12px;max-width:210px}
.token-count input{width:100px}
@media(max-width:800px){.wallet-input-row{flex-wrap:wrap}.wallet-input-row>input{flex-basis:100%}.wallet-input-row>.primary{height:45px}.selection-control select{max-width:100%}}

.dev-cell{display:flex;flex-direction:column;gap:3px;min-width:122px;font-size:10px}
.dev-cell>div{display:flex;align-items:baseline;justify-content:space-between;gap:10px;white-space:nowrap}
.dev-label{color:var(--muted);font-size:9px}
.dev-count{font-size:11px;font-weight:650}
.dev-count.needs-review{color:#9a691e}
.report-coverage{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px}
.coverage-item{min-width:0;padding:5px 8px;border:1px solid var(--line);border-radius:4px;background:white}
.coverage-item>span,.coverage-item>strong,.coverage-item>small{display:block}
.coverage-item>span{font-size:9px;color:var(--muted)}
.coverage-item>strong{font-size:11px;font-weight:650;margin:2px 0}
.coverage-item>small{font-size:9px;color:var(--muted);line-height:1.4}
.coverage-item.complete>strong{color:var(--green)}
.coverage-item.partial>strong{color:#9a691e}
@media(max-width:800px){.report-coverage{grid-template-columns:repeat(2,minmax(0,1fr))}}

.price-window{display:flex;flex-direction:column;gap:3px;min-width:92px}.price-window>span{display:flex;justify-content:space-between;gap:8px}.price-window small{color:var(--muted);font-size:9px}

.hold-simulation .mini-table th,.hold-simulation .mini-table td{padding:5px 3px}.hold-simulation tbody th{font-weight:550;background:transparent;white-space:nowrap}.hold-simulation thead th:not(:first-child){text-align:right}.hold-simulation .hold-partial{color:#9a691e;font-size:9px;font-weight:400}.hold-simulation p{line-height:1.45}

.interval-sort{display:block;width:100%;min-height:24px;margin-top:5px;padding:2px 5px;border-color:#d5dfed;background:#fff;color:#53677d;font-size:10px;font-weight:500;cursor:pointer}.interval-sort:hover{border-color:#9ab8e4}.interval-sort:focus-visible{outline:2px solid #9bbdf5;outline-offset:1px}

/* Strategy equity: each initial entry has the same size. */
.equity-chart.hold-chart{padding:11px 10px 6px;border-color:#dce5f0;border-radius:6px;background:#fff}
.hold-chart-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:10px}
.hold-chart-heading h3{margin:0;font-size:11px;font-weight:650;color:#33465f}
.hold-chart-heading strong{font-size:16px;font-weight:750;white-space:nowrap;letter-spacing:-.3px}
.hold-chart-tabs{display:flex;gap:3px;padding:3px;background:#f3f6fb;border:1px solid #e0e7f0;border-radius:5px}
.hold-chart-tabs button{flex:1;min-width:0;border:1px solid transparent;border-radius:3px;background:transparent;color:#65788f;white-space:nowrap;font-size:10px;line-height:1.4;padding:4px 3px}
.hold-chart-tabs button:hover{color:#205eb7;background:#fff}
.hold-chart-tabs button.active{background:#fff;color:#1d5dba;border-color:#c9d9ef;box-shadow:0 1px 2px #233b6010;font-weight:650}
.hold-chart-caption{margin:9px 0 2px;font-size:9px;color:#7b8da3;line-height:1.4}
.hold-chart-partial{color:#a2712c}
.hold-chart-plot{position:relative;min-width:0;height:246px;touch-action:pan-y;border-radius:3px;outline-offset:1px;cursor:crosshair}
.equity-chart .hold-chart-svg{display:block;width:100%;height:246px;overflow:visible}
.hold-chart-plot:focus-visible{outline:2px solid #9bbdf5}
.hold-chart-crosshair{pointer-events:none}
.hold-chart-tooltip{position:absolute;z-index:3;pointer-events:none;width:220px;max-width:calc(100% - 10px);padding:9px 10px;background:#fffffff5;border:1px solid #c9d6e7;box-shadow:0 4px 16px #263c5920;border-radius:5px;color:#33465f;font-size:10px;box-sizing:border-box;line-height:1.45}
.hold-chart-tip-title{display:block;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hold-chart-tip-date{display:block;color:#7b8da3;font-size:9px;margin:2px 0 7px}
.hold-chart-tooltip>div{display:flex;justify-content:space-between;gap:8px;margin-top:3px}
.hold-chart-tooltip>div>span{color:#7b8da3}
.hold-chart-tooltip b{white-space:nowrap;font-weight:650}
.hold-chart-footer{font-size:9px;color:#7b8da3;text-align:right;padding:0 2px 2px}
.hold-chart-reader{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.hold-chart-empty{height:180px;display:flex;align-items:center;justify-content:center;padding:20px;text-align:center;color:#7b8da3;font-size:11px}

.token-identity{gap:1px}
.token-dev{display:flex;align-items:center;gap:6px;margin-top:1px;min-height:13px;white-space:nowrap;font-size:9px}
.token-dev-copy{display:inline-flex;align-items:center;gap:3px;padding:0;border:0;border-radius:2px;background:transparent;color:#627b96;font-size:9px;font-weight:600;line-height:1.4;min-height:13px}
.token-dev-copy svg{width:10px;height:10px;opacity:.7}
.token-dev-copy:hover{color:var(--blue)}.token-dev-copy.copied{color:var(--green)}
.token-dev-copy:disabled{cursor:default;color:#9aa8ba}
.token-dev-count{font-size:9px;font-weight:550;color:#476784;text-decoration:none}
.token-dev-count.needs-review{color:#9a691e}.token-dev-filter{margin-top:8px;width:100%;text-align:left;font-size:11px}
.column-picker{width:310px;max-width:calc(100vw - 16px)}
.column-picker .column-list{max-height:min(52vh,370px);overflow:auto;margin:8px -3px;padding:0 3px}
.column-picker .column-option{display:flex;flex-direction:row;align-items:center;gap:8px;margin:0;padding:6px 3px;border-radius:3px;color:#425a75;font-size:11px;cursor:pointer}
.column-picker .column-option:hover{background:#f2f6fc}
.column-picker .column-option input{flex:0 0 14px;width:14px;height:14px;min-height:0;margin:0;padding:0;accent-color:#2563eb}
.column-picker .column-option span{flex:1}.column-picker .column-option small{font-size:9px;color:#2563eb}
.column-picker footer{gap:5px}.column-picker footer .button{font-size:10px;padding:4px 9px;min-height:27px}
#report-table{min-width:0}

.token-dev-copy{font-size:10px;font-weight:750;color:#334d69}
.token-dev-count{font-size:10px;font-weight:800;color:#2d4f70}
.ath-entry-multiple{font-size:11px;font-weight:800;color:#33465f}

#report-table th.compact-metric,#report-table td.compact-metric{width:126px;min-width:112px;max-width:148px;padding:5px 6px;text-align:center}
#report-table th.compact-metric .th-content{gap:3px;justify-content:center}
#report-table th.compact-metric .sort-header{justify-content:center;text-align:center;gap:4px;white-space:normal;line-height:1.2}
#report-table th.compact-metric .funnel{flex:0 0 20px;width:20px}
.compact-metric .column-title{display:block}.compact-metric .column-title small{display:block;font-size:8px;font-weight:500;color:#8292a7;margin-top:2px}
.compact-metric .interval-sort{font-size:9px;min-height:22px;padding:2px 3px}
.metric-pill{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;min-width:76px;max-width:100%;padding:5px 7px;border:1px solid transparent;border-radius:5px;line-height:1.35;vertical-align:middle;white-space:nowrap}
.metric-main{font-size:11px;font-weight:600;font-variant-numeric:tabular-nums}
.metric-pill .ath-entry-multiple{margin-top:2px;text-align:center;font-size:11px;font-weight:800;color:inherit}
.metric-unranked{min-width:0;color:#8a98aa}
.metric-level-0{background:#edf1f6;border-color:#d6dfe9;color:#56677e}
.metric-level-1{background:#e8f1ec;border-color:#cdded3;color:#456555}
.metric-level-2{background:#f4f0e5;border-color:#e4dbc4;color:#756440}
.metric-level-3{background:#f5eae4;border-color:#e5cfc3;color:#895d49}
.metric-level-4{background:#e9e1f2;border-color:#cebbdf;color:#684785}
.metric-level-legend{display:flex;align-items:center;gap:5px;flex-wrap:wrap;background:#fff;border:1px solid var(--line);border-bottom:0;padding:5px 8px;font-size:9px;line-height:1.3}
.metric-legend-label{color:#8191a6;margin-right:3px}.metric-legend-key{display:inline-block;border-width:1px;border-style:solid;border-radius:3px;padding:2px 5px;font-size:9px;font-weight:550;white-space:nowrap}

/* FINANCE_CELL_DESIGNS_START */
body.finance-preview{overflow:auto!important;height:auto!important}
.finance-preview>.app-header,.finance-preview>#home,.finance-preview>#report{display:none!important}
.finance-gallery,.finance-gallery *{box-sizing:border-box}
.finance-gallery{--finance-cell-width:230px;--fin-ink:#2d3d51;--fin-muted:#8090a3;max-width:1440px;margin:0 auto;padding:30px 28px 40px;color:var(--fin-ink);font:13px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
.fin-back{display:inline-block;color:#6b829f;text-decoration:none;font-size:12px;margin-bottom:25px}.fin-back:hover{color:#2563eb}
.fin-eyebrow{font-size:10px;color:#8294ac;text-transform:uppercase;letter-spacing:1.6px;font-weight:650}
.fin-gallery-heading h1{font-size:36px;line-height:1.15;letter-spacing:-1.1px;font-weight:750;margin:12px 0;color:#26394f}
.fin-gallery-heading>p{font-size:14px;color:#71839b;margin:0 0 12px;max-width:660px}
.fin-demo-note{display:inline-block;font-size:10px;color:#8190a5;border:1px solid #dbe3ed;background:#fff;border-radius:4px;padding:4px 7px}
.fin-gallery-controls{display:flex;align-items:center;gap:24px;flex-wrap:wrap;margin:26px 0 22px;padding:14px 16px;background:#fff;border:1px solid #dbe3ed;border-radius:8px}
.fin-gallery-controls label{display:flex;flex-direction:column;gap:5px;font-size:10px;color:#71839b;position:relative;min-width:150px}
.fin-gallery-controls output{position:absolute;right:0;top:0;color:#3c587b;font-weight:650}
.fin-gallery-controls input[type=range]{padding:0;min-height:24px;width:190px;accent-color:#6786b6}
.fin-gallery-controls select{font:inherit;font-size:11px;border:1px solid #d6e0eb;background:white;border-radius:4px;padding:5px 7px;min-height:29px;color:#435b78}
.fin-gallery-controls .fin-short-toggle{flex-direction:row;align-items:center;gap:6px;min-width:0;font-size:11px}
.fin-short-toggle input{width:14px;height:14px;min-height:0;margin:0;accent-color:#6786b6}
.fin-gallery-controls>span{font-size:10px;color:#8a98ab;flex:1;min-width:180px;max-width:270px;margin-left:auto}
.fin-design-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:18px;align-items:start}
.fin-design-card{min-width:0;background:#fff;border:1px solid #d8e2ee;border-radius:9px;padding:16px 14px 12px;box-shadow:0 3px 14px #2c436306}
.fin-design-card>header{display:flex;align-items:flex-start;gap:11px}.fin-design-index{display:grid;place-items:center;width:29px;height:29px;flex:0 0 29px;border:1px solid #d9e3ef;border-radius:6px;background:#f2f6fb;color:#6981a1;font-size:11px;font-weight:650}
.fin-design-card h2{margin:0 0 3px;font-size:14px;line-height:1.4;font-weight:700;color:#334b68}
.fin-design-tag{font-size:9px;color:#7b8da4}.fin-design-card[data-fin-design="2"]{border-color:#aac4e7;box-shadow:0 3px 14px #4f79b312}.fin-design-card[data-fin-design="2"] .fin-design-tag{color:#4779b9}
.fin-design-card>p{margin:13px 0 14px;font-size:11px;line-height:1.5;color:#8795a9;min-height:34px}
.fin-demo-viewport{width:max-content;max-width:100%;margin:0 auto;overflow:auto;border:1px solid #e0e7ef;border-radius:5px}
.fin-demo-table{border-collapse:separate;border-spacing:0;width:calc(var(--finance-cell-width) + 84px);font-size:10px;table-layout:fixed;background:#fff}
.fin-demo-table th,.fin-demo-table td{box-sizing:border-box;text-align:left;border:0;border-bottom:1px solid #e6ebf2;border-right:1px solid #e6ebf2;vertical-align:middle;padding:7px 8px}
.fin-demo-table th{position:static;background:#f6f8fb;color:#8796ab;font-size:9px;line-height:1.4;font-weight:550}
.fin-demo-table th:first-child,.fin-demo-table td:first-child{width:84px}.fin-demo-table th:last-child,.fin-demo-table td:last-child{width:var(--finance-cell-width);border-right:0}
.fin-demo-table tr:last-child td{border-bottom:0}.fin-demo-table .fin-data-cell{padding:4px 5px}
.fin-demo-token{display:flex;align-items:center;gap:5px;min-width:0}.fin-demo-avatar{display:grid;place-items:center;width:18px;height:18px;flex:0 0 18px;border:1px solid #dce5ee;background:#edf2f8;color:#8496ad;border-radius:50%;font-size:8px;font-weight:700}
.fin-demo-token b{display:block;font-size:9px;font-weight:600;white-space:nowrap;color:#526d8c}.fin-demo-token small{display:block;font-size:7px;line-height:1.4;color:#9ba7b8}
.fin-cell{padding:5px;line-height:1.25;min-width:0;box-sizing:border-box;color:#3e526d}
.fin-label{display:block;font-size:8px;line-height:1.4;font-weight:400;color:#8c9aaf;white-space:nowrap}
.fin-number{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:650;line-height:1.5;font-variant-numeric:tabular-nums;letter-spacing:-.1px}
.fin-roi{display:inline-block;max-width:100%;font-size:10px;line-height:1.5;font-weight:650;font-variant-numeric:tabular-nums;white-space:nowrap}
.fin-up{color:#16805a}.fin-down{color:#bb5363}.fin-flat{color:#8b99ac}
.fin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 9px}.fin-grid .fin-metric:nth-child(even){text-align:right}
.fin-result-top{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.fin-result-top>div{min-width:0}.fin-result-top .fin-number{font-size:15px;font-weight:750;line-height:1.3}
.fin-roi-wrap{text-align:right}.fin-result .fin-roi{padding:1px 4px;border:1px solid #dce6ed;border-radius:3px;font-size:10px;background:#f6f9fb}
.fin-totals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:5px;padding-top:4px;border-top:1px solid #edf1f6}.fin-totals .fin-metric:last-child{text-align:right}.fin-totals .fin-number{font-size:10px;font-weight:550;color:#72839a}
.fin-flow-top{display:grid;grid-template-columns:minmax(0,1fr) 14px minmax(0,1fr);align-items:center;gap:6px}.fin-flow-top>.fin-metric:last-child{text-align:right}.fin-flow-arrow{color:#b8c4d3;font-size:14px;text-align:center}
.fin-flow-bottom{display:flex;align-items:baseline;gap:5px;margin-top:6px;padding-top:4px;border-top:1px solid #edf1f6}.fin-flow-bottom .fin-number{flex:1}.fin-flow-bottom .fin-roi{margin-left:auto;font-size:10px}
.fin-ledger>div{display:flex;align-items:baseline;justify-content:space-between;gap:8px;min-width:0;margin-top:2px}.fin-ledger>div:first-child{margin-top:0}.fin-ledger .fin-label{font-size:9px}.fin-ledger .fin-number,.fin-ledger .fin-roi{text-align:right;flex:1;font-size:11px}
.fin-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:9px}.fin-split-turnover{display:grid;gap:4px}.fin-split-turnover .fin-number{font-size:10px;font-weight:550;color:#71839b}
.fin-split-result{display:flex;flex-direction:column;justify-content:center;gap:4px;text-align:right;border-left:1px solid #e3eaf3;padding-left:7px}.fin-split-result .fin-number{font-size:13px;font-weight:750}.fin-split-result .fin-label{font-size:7px}
.fin-download{display:block;width:100%;margin-top:12px;border:1px solid #dce5ef;border-radius:4px;background:#f9fbfd;color:#667f9f;font-size:10px;font-weight:550;padding:7px 10px;cursor:pointer;text-align:center}
.fin-download:hover{border-color:#a9c0e0;color:#3d6ca8;background:#f2f7fd}.fin-download:disabled{opacity:.5;cursor:wait}
.fin-gallery-footer{font-size:11px;color:#8494aa;margin-top:25px;text-align:center}
.fin-standalone{margin:0;background:#f4f7fb;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}.fin-standalone .finance-gallery{max-width:640px;margin:20px auto;padding:24px;background:#fff;border:1px solid #d8e2ee;border-radius:9px}
.fin-standalone-heading{margin-bottom:24px}.fin-standalone-heading h1{font-size:24px;letter-spacing:-.5px;margin:8px 0;color:#334b68}.fin-standalone-heading p{color:#7c8da4;font-size:12px;margin:8px 0}.fin-standalone-heading small{font-size:10px;color:#98a4b5}
@media(max-width:700px){.finance-gallery{padding:22px 14px}.fin-gallery-heading h1{font-size:30px}.fin-gallery-controls{gap:14px;padding:12px}.fin-gallery-controls>span{max-width:none;flex-basis:100%;margin:0}.fin-design-grid{grid-template-columns:1fr}.fin-standalone .finance-gallery{margin:10px;padding:18px}}
/* FINANCE_CELL_DESIGNS_END */

/* The same label/value rhythm as the interval columns. */
#report-table th.finance-column,#report-table td.finance-column{width:178px;min-width:166px;text-align:left;padding:5px 8px}
.finance-column .column-title small{display:block;font-size:8px;font-weight:500;color:#8292a7;margin-top:2px}
.finance-summary{display:flex;flex-direction:column;gap:0;min-width:150px;font-variant-numeric:tabular-nums}
.finance-line{display:flex;align-items:baseline;justify-content:space-between;gap:12px;min-height:14px;line-height:14px;white-space:nowrap}
.finance-label{font-size:9px;font-weight:400;color:var(--muted)}
.finance-value{flex:0 0 auto;text-align:right;font-size:11px;font-weight:500;line-height:14px}
.finance-result .finance-value{font-weight:700}
.finance-column .interval-sort{width:100%;min-height:22px;padding:2px 4px;font-size:9px}
.financial-filter-list{display:grid;gap:6px}
.financial-filter-option{display:flex;align-items:center;justify-content:space-between;gap:8px;text-align:left;min-height:37px}
.financial-filter-option small{font-size:9px;font-weight:400;color:var(--muted)}
.financial-filter-option.filtered{background:#edf3ff;border-color:#99bdee}
.financial-filter-back{width:100%;margin-top:4px;font-size:10px}

.win-rate-counts{display:flex;flex-wrap:wrap;gap:3px 8px;font-variant-numeric:tabular-nums}.win-rate-counts span{font-weight:650;white-space:nowrap}.win-rate-missing{margin-top:3px;font-size:8px}

#report-table .chart-column{width:76px;min-width:76px;padding:5px 7px;text-align:center}
.chart-column>small{display:block;font-size:8px;font-weight:400;color:var(--muted);margin-top:2px}
.token-chart-button{display:inline-flex;align-items:center;gap:5px;min-height:28px;padding:4px 7px;border:1px solid #cbd8e8;border-radius:4px;background:#fff;color:#416b9f;font-size:9px;font-weight:550;white-space:nowrap}
.token-chart-button svg{width:14px;height:14px}.token-chart-button:hover{background:#edf3ff;border-color:#a8c0e2}
.token-chart-button:disabled{color:var(--muted);opacity:.5}
#token-chart-dialog{width:min(1120px,calc(100vw - 40px));max-width:1120px;max-height:92dvh;border-radius:9px;overflow:auto;background:#fff}
#token-chart-dialog>header{padding:13px 18px;position:sticky;top:0;z-index:5;background:#f7f9fd}
#token-chart-dialog>header strong{display:block;font-size:14px;font-weight:700}
#token-chart-subtitle{display:block;font-size:10px;color:var(--muted);margin-top:3px}
#token-chart-close{font-size:10px;min-height:28px;padding:4px 9px}
#token-chart-content{padding:16px 18px 12px}
.token-chart-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin-bottom:13px}
.token-chart-modes{display:flex;gap:3px;padding:3px;border:1px solid #dce5f0;border-radius:5px;background:#f3f6fb}
.token-chart-modes button{padding:4px 9px;border:1px solid transparent;border-radius:3px;background:transparent;font-size:10px;color:#667d99;white-space:nowrap}
.token-chart-modes button[aria-pressed=true]{background:white;border-color:#c7d8ee;color:#245fbb;font-weight:600}
.token-chart-duration{font-size:10px;color:var(--muted)}
.token-chart-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid #dce5f0;border-radius:5px;margin-bottom:10px;background:#fafbfd}
.token-chart-summary>div{padding:8px 12px;border-right:1px solid #dce5f0;min-width:0}
.token-chart-summary>div:last-child{border-right:0}.token-chart-summary span{display:block;font-size:9px;color:var(--muted)}
.token-chart-summary strong{display:block;font-size:15px;font-weight:700;margin-top:3px;overflow-wrap:anywhere}
.token-chart-plot{position:relative;min-width:0;touch-action:none;cursor:crosshair;outline-offset:2px;user-select:none}
.token-chart-plot.is-dragging{cursor:grabbing}
.token-chart-axis-hit.axis-y{cursor:ns-resize}.token-chart-axis-hit.axis-x{cursor:ew-resize}
.token-price-svg{display:block;width:100%;height:auto;overflow:visible}
.token-chart-axis{font:10px -apple-system,BlinkMacSystemFont,Arial,sans-serif;fill:#718096}
.token-chart-grid{stroke:#e6ecf4;stroke-width:1}
.token-chart-entry{stroke:#6e8fb5;stroke-width:1;stroke-dasharray:5 4}
.token-chart-entry-label{font:9px -apple-system,BlinkMacSystemFont,Arial,sans-serif;fill:#6584a9}
.token-chart-entry-dot{fill:#4b78af;stroke:white;stroke-width:1.5}
.token-chart-crosshair{pointer-events:none}.token-chart-crosshair line{stroke:#8397af;stroke-width:1;stroke-dasharray:3 3}
.token-chart-cross-dot{fill:white;stroke:#4d6c94;stroke-width:1.5}
.token-chart-tooltip{position:absolute;z-index:3;pointer-events:none;width:232px;max-width:calc(100% - 8px);border:1px solid #c7d5e7;border-radius:5px;background:#fffffff5;box-shadow:0 4px 18px #233c5a1c;padding:9px 10px;color:#334b67;font-size:10px}
.token-chart-tooltip>strong{display:block;font-size:10px;font-weight:650}.token-chart-tooltip>small{display:block;font-size:9px;color:var(--muted);margin:2px 0 7px}
.token-chart-tooltip>div{display:flex;justify-content:space-between;gap:8px;margin-top:4px}.token-chart-tooltip>div>span{color:var(--muted)}
.token-chart-tooltip b{font-weight:600;white-space:nowrap}.token-chart-tip-change{border-top:1px solid #e2e9f2;padding-top:5px}
.token-chart-footer{display:flex;justify-content:space-between;gap:10px;font-size:9px;color:var(--muted);padding:5px 2px 0}
.token-chart-empty{min-height:300px;display:flex;align-items:center;justify-content:center;padding:30px;color:var(--muted);font-size:12px;text-align:center}
.token-chart-reader{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.token-chart-controls{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin:2px 0 5px}
.token-chart-trade-legend,.token-chart-zoom-controls{display:flex;flex-wrap:wrap;align-items:center;gap:4px}
.token-chart-zoom-controls>span{font-size:9px;color:var(--muted);margin-left:5px}
.token-chart-controls button{border:1px solid #d4dfed;border-radius:4px;background:white;font-size:9px;padding:3px 6px;min-height:25px}
.token-chart-controls button:hover{border-color:#9db7dc;background:#f2f6fc}
.token-chart-trade-legend button{border-color:transparent;background:transparent;font-weight:550}
.token-chart-trade-legend button[aria-pressed=false]{color:#95a2b3;text-decoration:line-through}
.token-chart-load-state{font-size:10px;color:#6d83a0;min-height:0}.token-chart-load-state:not(:empty){padding:5px 0}
.token-chart-source-note{font-size:10px;line-height:1.5;color:#8a672e;padding:5px 0}
.token-chart-resolutions button[aria-busy=true]{color:#8c9db4;animation:chart-pulse 1s ease-in-out infinite alternate}
@keyframes chart-pulse{to{opacity:.45}}
.token-chart-help{font-size:9px;color:var(--muted);margin:8px 2px 0}
.token-chart-updated{font-size:9px;color:#6d83a0;margin:5px 2px 0}.token-chart-updated:empty{display:none}
.entry-volume-cell{display:inline-block;font-size:11px;font-weight:550;white-space:nowrap;font-variant-numeric:tabular-nums}
.token-chart-trade line{stroke-width:1;opacity:.7}.token-chart-trade circle{stroke:white;stroke-width:1.4}
.token-chart-trade text{text-anchor:middle;font:700 8px -apple-system,BlinkMacSystemFont,Arial,sans-serif;fill:white;pointer-events:none}
.token-chart-trade.trade-buy circle{fill:#087d45}.token-chart-trade.trade-buy line{stroke:#087d45}
.token-chart-trade.trade-sell circle{fill:#d42d45}.token-chart-trade.trade-sell line{stroke:#d42d45}
.token-chart-trade circle.first-purchase-marker{stroke:#477fc4;stroke-width:2.5}
.token-chart-trade-list{border-top:1px solid #dce5f0;margin-top:12px;padding-top:10px;font-size:10px}
.token-chart-trade-list summary{cursor:pointer;color:#526e92;font-weight:600;outline-offset:3px}
.token-chart-trade-list>div{max-height:240px;overflow:auto;margin-top:9px;border:1px solid #dce5f0;border-radius:4px}
.token-chart-trade-list table{font-size:10px;white-space:nowrap}.token-chart-trade-list th,.token-chart-trade-list td{padding:6px 8px}
.token-chart-trade-list td:nth-child(n+3){text-align:right}
@media(max-width:600px){#token-chart-dialog{width:calc(100vw - 12px);max-height:96dvh;border-radius:6px}#token-chart-dialog>header{padding:11px}#token-chart-content{padding:12px 8px 9px}.token-chart-toolbar{flex-wrap:wrap;gap:7px}.token-chart-modes{flex:1}.token-chart-modes button{flex:1;padding:4px 7px;font-size:9px}.token-chart-duration{font-size:9px}.token-chart-summary>div{padding:7px 8px}.token-chart-summary strong{font-size:13px}.token-chart-footer{font-size:8px}}

/* Statistics and strategy use separate views of the same filtered selection. */
.sidebar-header{position:sticky;top:-10px;z-index:3;background:#fff;padding:4px 0 10px;margin-bottom:10px;border-bottom:1px solid #e0e7f0}
.sidebar-header .stats-title{gap:8px;margin-bottom:9px}
.sidebar-header .stats-title h2{margin:0;font-size:12px}
.sidebar-tabs{display:grid;grid-template-columns:1fr 1.4fr;gap:3px;padding:3px;border:1px solid #dce5f0;border-radius:5px;background:#f3f6fb}
.sidebar-tabs button{min-width:0;min-height:29px;padding:5px 7px;border:1px solid transparent;border-radius:3px;background:transparent;color:#64768d;font-size:11px;font-weight:550;line-height:1.35;white-space:normal}
.sidebar-tabs button:hover{color:#205eb7;background:#fff}
.sidebar-tabs button[aria-selected="true"]{background:#fff;border-color:#c9d9ef;color:#1d5dba;font-weight:650;box-shadow:0 1px 2px #233b6010}
.sidebar-tabs button:focus-visible{outline:2px solid #9bbdf5;outline-offset:1px}
.sidebar-panel[hidden]{display:none!important}
#sidebar-strategy>.stats-block:first-child{margin-top:0;padding-top:0;border-top:0}
#sidebar-statistics>#stats-source{margin-top:0}

#sidebar-statistics>.stats-calendar:first-child{margin-top:0;padding-top:0;border-top:0;margin-bottom:12px}
.strategy-stop-controls{margin:10px 0;padding:9px;border:1px solid #dce5f0;border-radius:5px;background:#f7f9fc}
.strategy-stop-main{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.strategy-stop-toggle{display:flex;align-items:center;gap:6px;font-size:11px;font-weight:650;color:#33465f}
.strategy-stop-toggle input{width:14px;height:14px;min-height:0;margin:0;accent-color:#2563eb}
.strategy-stop-value{display:flex;align-items:center;gap:5px;color:#6d7e94;font-size:10px;white-space:nowrap}
.strategy-stop-value input{width:65px;min-height:28px;padding:4px 5px;font-size:11px;text-align:center}
.strategy-stop-value input:disabled{background:#edf1f6;color:#8796a8}
.strategy-stop-value input[aria-invalid="true"]{border-color:#d77986;background:#fff5f6}
.strategy-stop-presets{display:flex;gap:4px;margin-top:8px}
.strategy-stop-presets button{flex:1;min-width:0;min-height:26px;padding:4px;border:1px solid #d8e1ed;border-radius:3px;background:#fff;color:#62778e;font-size:10px}
.strategy-stop-presets button:hover{border-color:#a9bfdf;color:#205eb7}
.strategy-stop-presets button[aria-pressed="true"]{background:#e9f1ff;color:#205eb7;border-color:#aac5ef;font-weight:650}
.strategy-stop-error{margin:7px 0 0;color:#b8394d;font-size:10px}
.strategy-stop-error[hidden]{display:none!important}
.strategy-comparison td,.strategy-comparison th{padding:6px 4px}
.strategy-comparison td:not(:first-child),.strategy-comparison th:not(:first-child){text-align:right;white-space:nowrap}
.strategy-comparison [data-hold-stop-result]{font-weight:650}
.hold-chart-legend{display:flex;flex-wrap:wrap;gap:6px 13px;margin-top:9px;color:#62768d;font-size:10px}
.hold-chart-legend>span{display:inline-flex;align-items:center;gap:5px}
.hold-chart-legend b{font-weight:650;font-variant-numeric:tabular-nums}
.hold-chart-legend i{display:inline-block;width:17px;border-top:2px solid #2563eb}
.hold-chart-legend .hold-legend-baseline{border-color:#7d8fa7;border-top-style:dashed}
.slippage-cost{color:#9b6a2c}.slippage-improvement{color:#087d45}
.strategy-comparison .strategy-slippage-row th,.strategy-comparison .strategy-slippage-row td{background:#fffaf0;border-bottom:1px solid #eadfc9;padding-top:8px;padding-bottom:8px}
.strategy-slippage-row th{color:#7c633d;font-weight:600}.strategy-slippage-row th small{display:block;font-size:9px;font-weight:400;margin-top:2px}
.strategy-slippage-row strong{font-size:12px;font-weight:700}
.hold-chart-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
.hold-chart-tabs [data-hold-strategy="3"]{grid-column:1/-1}
.hold-chart-tabs [data-hold-strategy="3"].active{color:#8a602d;border-color:#ddc89f;background:#fffaf0}
.mini-table .distribution-partial{color:#9b6a2c;font-weight:400}
.strategy-slippage-card{padding:10px;border:1px solid #e5d6ba;border-radius:5px;background:#fffbf3;margin-bottom:13px}
.strategy-slippage-card h3{margin:0 0 9px;font-size:12px;color:#725a37}
.slippage-card-values{display:grid;grid-template-columns:1.2fr 1fr;gap:10px}
.slippage-card-values span{display:block;font-size:9px;color:#8a795f}
.slippage-card-values strong{display:block;font-size:17px;line-height:1.4;margin-top:3px;font-variant-numeric:tabular-nums}
.slippage-card-values>div:last-child strong{font-size:15px}
.strategy-slippage-card p{font-size:9px;margin:7px 0 0;line-height:1.45}
.strategy-mode-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin-bottom:11px}
.strategy-mode-tabs button{border:1px solid #dce5f0;border-radius:4px;background:#fff;min-height:28px;font-size:11px;color:#65788f}
.strategy-mode-tabs button[aria-selected="true"]{color:#205eb7;background:#edf3ff;border-color:#b6ccef;font-weight:650}
.strategy-subpanel[hidden]{display:none!important}
.tp-sl-form{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:12px 0 7px}
.tp-sl-form label{display:flex;flex-direction:column;gap:4px;font-size:10px;color:#65788f}
.tp-sl-form input{width:100%;min-width:0;min-height:29px;font-size:12px}
.tp-sl-form button{grid-column:1/-1}
.tp-sl-result{padding:10px;border:1px solid #dce5f0;border-radius:4px;background:#f7f9fc;margin:8px 0 11px}
.tp-sl-result>span{display:block;font-size:10px;color:#65788f}.tp-sl-result strong{display:block;font-size:21px;margin:5px 0}.tp-sl-result small{display:block;color:#65788f;font-size:9px;line-height:1.6}
.tp-sl-token-list{max-height:330px;overflow:auto;margin-top:12px;border:1px solid #e0e7f0;border-radius:4px}.tp-sl-token-list table{width:100%}.tp-sl-token-list td{max-width:140px;overflow:hidden;text-overflow:ellipsis}

/* Wallet identity from GMGN. Address and copy target always remain the wallet. */
.report-wallet-details{display:flex;flex-direction:column;gap:1px;min-width:0}
.report-wallet-details>#report-wallet-name{font:650 13px/1.3 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);max-width:340px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.report-wallet-address{font:10px/1.4 ui-monospace,SFMono-Regular,monospace;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wallet-tracking{display:inline-flex;align-items:center;flex-shrink:0;white-space:nowrap;padding:3px 7px;border:1px solid #cdddeb;border-radius:5px;background:#eef5fc;color:#506c8e;font-size:10px;font-weight:550;font-variant-numeric:tabular-nums}
.job-wallet-line{display:flex;align-items:center;gap:12px;min-width:0;flex-wrap:wrap}
.job-wallet-details{min-width:0}.wallet-display-name{display:block;font-size:13px;font-weight:650;margin-bottom:3px;overflow-wrap:anywhere}
@media(max-width:700px){.report-identity{flex-wrap:wrap}.report-wallet-details{max-width:calc(100vw - 40px)}.report-wallet-details>#report-wallet-name{max-width:240px}.report-wallet-address{max-width:260px}.report-identity .wallet-tracking{font-size:9px;padding:2px 5px}}

/* Visible identity in the report body, above filters and financial metrics. */
.report-wallet-profile{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:10px 14px;border:1px solid var(--line);border-radius:6px;background:var(--paper);flex-shrink:0}
.report-profile-main{display:flex;flex-direction:column;gap:2px;min-width:0}
.report-profile-label{font-size:10px;color:var(--muted)}
.report-profile-main>strong{font-size:17px;font-weight:700;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#report-wallet-name-empty{color:#6c7e95;font-size:14px;font-weight:550}
.report-profile-main>.report-wallet-address{color:#63758b;font-size:10px}
.report-profile-tracking{display:flex;flex-direction:column;align-items:flex-end;gap:2px;flex-shrink:0;padding-left:18px;border-left:1px solid var(--line)}
.report-profile-tracking>strong{font-size:22px;line-height:1.2;color:#315d94;font-weight:700;cursor:help}
@media(max-width:600px){.report-wallet-profile{padding:8px 10px;gap:10px}.report-profile-main>strong{font-size:15px;max-width:calc(100vw - 160px)}.report-profile-main>.report-wallet-address{max-width:calc(100vw - 160px)}.report-profile-tracking{padding-left:10px}.report-profile-tracking .report-profile-label{font-size:9px}.report-profile-tracking>strong{font-size:20px}}

.report-profile-counters{display:flex;align-items:center;gap:18px;flex-shrink:0}.job-wallet-counters{display:flex;gap:6px;flex-wrap:wrap}
@media(max-width:600px){.report-profile-counters{gap:10px}.report-profile-main>strong,.report-profile-main>.report-wallet-address{max-width:calc(100vw - 215px)}.report-profile-tracking>strong{font-size:18px}.report-profile-tracking{min-width:56px}}

/* Shared report library */
.library-home{max-width:none;width:100%;padding:22px 28px 36px;box-sizing:border-box}.library-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.library-heading h1{font-size:23px;letter-spacing:-.5px;margin:0 0 5px}.library-heading p{font-size:12px;color:var(--muted);margin:0}.library-shared{font-size:11px;color:#57728f;padding:6px 10px;border:1px solid #cddbeb;border-radius:20px;background:#f8faff}.library-create{padding:0 16px;max-width:none}.library-form-tabs,.library-tabs{display:flex;gap:3px}.library-form-tabs{border-bottom:1px solid var(--line);margin:0 -16px 13px;padding:0 12px}.library-form-tabs button,.library-tabs button{border:0;background:transparent;padding:12px 13px;font:inherit;font-size:12px;font-weight:650;color:var(--muted);cursor:pointer;border-bottom:2px solid transparent}.library-form-tabs button[aria-selected=true],.library-tabs button[aria-selected=true]{color:#245fd2;border-bottom-color:#3374ed}.library-create .wallet-input-row{align-items:flex-end;gap:9px}.library-create .wallet-input-row>input{min-width:210px;min-height:36px;flex:1}.library-create .selection-control,.library-create .token-count{font-size:10px}.library-create .selection-control select,.library-create .token-count input{min-height:36px}.library-create #token-limit,.library-create #custom-days{width:86px}.library-create #create-button{white-space:nowrap;min-height:36px}.library-bulk-field{display:flex;flex-direction:column;gap:7px;font-size:11px;color:var(--muted);margin:12px 0}.library-bulk-field textarea{resize:vertical;width:100%;box-sizing:border-box;font-family:ui-monospace,SFMono-Regular,monospace;font-size:12px;padding:10px;border:1px solid #c4d3e7;border-radius:5px;min-height:88px;background:#fbfcff;color:var(--ink)}.library-create-options{display:flex;align-items:center;gap:10px;margin:11px 0;font-size:11px;color:var(--muted);flex-wrap:wrap}.library-create-options>label{display:flex;align-items:center;gap:6px;color:var(--ink);font-weight:600;white-space:nowrap}.library-create-options input[type=checkbox]{width:14px;height:14px;min-height:0}.library-create .form-help{font-size:10px;margin:5px 0;max-width:1100px;line-height:1.5}.library-create .error:empty{display:none}.library-create .new-report-footer{margin:9px -16px 0;padding:9px 16px;font-size:10px}.library-archive{margin-top:19px;border:1px solid #cddbec;border-radius:7px;background:white;overflow:hidden}.library-topbar{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:0 12px}.library-tools{display:flex;gap:7px}.library-tabs button{padding:13px 14px}.library-tabs span{background:#ecf1f9;border-radius:8px;padding:1px 5px;margin-left:3px;font-size:10px}.library-filters{display:flex;gap:7px;align-items:center;flex-wrap:wrap;padding:12px 13px 9px}.library-filters>input{flex:1;min-width:230px}.library-filters select,.library-filters input{font-size:11px;min-height:31px}.library-filters select{max-width:200px}.library-sortbar{display:flex;align-items:center;gap:6px;padding:0 13px 10px;font-size:11px;color:var(--muted)}.library-sortbar>span{margin-right:auto}.library-sortbar>span>b{color:var(--ink)}.library-sortbar label{display:flex;align-items:center;gap:7px}.library-sortbar select{min-height:27px;font-size:11px}.library-sortbar button{min-height:27px;padding:3px 9px}.library-list-counts{font-size:10px;margin-left:13px}.library-table-wrap{overflow:auto;max-height:calc(100vh - 270px);min-height:130px;border-top:1px solid var(--line)}.library-table{width:100%;min-width:1120px;border-collapse:collapse;font-size:11px;table-layout:auto}.library-table th{background:#f2f6fc;position:sticky;top:0;z-index:2;text-align:left;color:#576e89;font-size:10px;padding:9px 10px;border-bottom:1px solid #cddbec;white-space:nowrap}.library-table th button{padding:0;border:0;background:transparent;color:inherit;font:inherit;font-weight:650;cursor:pointer}.library-table td{padding:8px 10px;border-bottom:1px solid #e7edf6;vertical-align:middle;font-size:11px}.library-table tr:last-child td{border-bottom:0}.library-table tbody tr:hover{background:#f8faff}.library-table td:first-child,.library-table th:first-child{width:27px;padding-right:0}.library-table input[type=checkbox]{width:14px;height:14px;min-height:0;accent-color:#3675df;cursor:pointer}.library-wallet{min-width:210px;max-width:300px}.library-wallet-top{display:flex;align-items:center;gap:7px}.library-name{border:0;background:none;font:inherit;font-weight:650;color:var(--ink);cursor:pointer;padding:0;max-width:230px;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.library-name:hover{color:#2462cf}.library-network{font-size:8px;letter-spacing:.4px;background:#edf2fa;border:1px solid #d9e3f0;border-radius:3px;padding:1px 3px;color:#607590}.library-address{font:10px ui-monospace,SFMono-Regular,monospace;color:#59779b;border:0;background:none;padding:3px 0 0;cursor:pointer}.library-address:hover{text-decoration:underline}.library-counters{display:block;color:#7a8ca4;font-size:9px;margin-top:2px}.library-tags{max-width:210px;min-width:115px}.library-tag{display:inline-block;border:1px solid #d9e1ef;background:#f4f6fb;color:#5f6d89;border-radius:4px;font-size:9px;padding:2px 5px;margin:2px 4px 2px 0;line-height:1.3;max-width:170px;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}.library-tag.group{cursor:pointer}.library-tag.white{background:#eaf7f1;border-color:#c4e5d5;color:#26724f}.library-tag.black{background:#f6eef1;border-color:#e8cfd8;color:#8d485b}.library-date{white-space:nowrap;color:#526a88;font-variant-numeric:tabular-nums}.library-table small{display:block;font-size:9px;color:#778ca6;margin-top:3px}.library-state{min-width:145px;max-width:200px}.library-table .job-status{display:inline-block;font-size:9px;padding:2px 6px;margin:0}.library-phase{color:#798ba0;font-size:9px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:190px;margin-top:4px}.library-state progress{display:block;width:100%;height:3px;margin-top:5px;border:0;accent-color:#4c83ec}.library-pnl{text-align:right!important;white-space:nowrap;font-variant-numeric:tabular-nums}.library-pnl strong{font-size:12px}.library-coverage{text-align:center!important;white-space:nowrap;min-width:65px}.library-coverage strong{font-size:12px}.library-actions{white-space:nowrap;min-width:95px}.library-actions .button{font-size:10px;min-height:27px;padding:4px 8px;margin-right:5px}.library-open{background:#edf4ff!important;color:#2b67cd!important;border-color:#c6d9f8!important}.library-history{font-size:9px;padding:4px 0 0;display:block}.library-empty{text-align:center!important;padding:36px!important;color:var(--muted)}.library-pagination{display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:10px 13px;background:#fbfcff;font-size:10px;color:var(--muted)}.library-pagination>span:first-child{margin-right:auto}.library-pagination label{display:flex;align-items:center;gap:6px}.library-pagination select{font-size:10px;min-height:26px}.library-pagination .button{min-height:26px;padding:3px 9px}.library-selection{display:flex;flex-wrap:wrap;gap:6px;align-items:center;padding:8px 13px;border-top:1px solid #d1dff5;background:#f0f5ff;font-size:11px}.library-selection .button,.library-selection select{font-size:10px;min-height:27px;padding:4px 7px}.library-selection strong{margin-right:6px}.library-batch-result{margin:12px 0;padding:11px 14px;border:1px solid #c7dbf3;border-radius:6px;background:#f3f8ff;font-size:12px}.library-batch-result details{font-size:11px;margin-top:7px}.library-dialog{max-width:570px}.library-dialog-body{padding:17px;display:flex;flex-direction:column;gap:12px;font-size:12px}.library-dialog-body>label,.library-address-fields label{display:flex;flex-direction:column;gap:5px;font-size:11px;color:#667d98}.library-dialog-body input,.library-dialog-body select,.library-dialog-body textarea{font-size:12px;min-height:33px;padding:7px;border:1px solid #c8d7eb;border-radius:4px;box-sizing:border-box;color:var(--ink);background:white}.library-dialog-body textarea{resize:vertical;line-height:1.5}.library-address-fields{display:flex;gap:8px}.library-address-fields label:last-child{flex:1;min-width:0}.library-dialog-body fieldset{border:1px solid #d7e1ef;border-radius:4px;padding:10px;font-size:11px}.library-group-checks{display:flex;gap:9px;flex-wrap:wrap}.library-group-checks label{display:flex;align-items:center;gap:5px}.library-group-checks input{min-height:0;width:14px;height:14px;padding:0}.library-dialog-body p{margin:0}.library-dialog-body>.button{align-self:flex-start}.group-row{display:flex;align-items:center;gap:8px;padding:7px 0}.group-row input{flex:1;min-width:0}.group-row small{white-space:nowrap;color:var(--muted)}#library-error{padding:0 13px}.library-home [hidden]{display:none!important}.library-dialog [hidden]{display:none!important}
@media(min-width:1800px){.library-home{padding:25px 40px}.library-table td{padding-top:9px;padding-bottom:9px}}@media(max-width:1000px){.library-home{padding:18px 15px}.library-create .wallet-input-row{flex-wrap:wrap}.library-create .wallet-input-row>input{flex-basis:60%}.library-table-wrap{max-height:65vh}.library-pagination>span:first-child{max-width:45%}}@media(max-width:600px){.library-home{padding:15px 10px}.library-heading h1{font-size:21px}.library-shared{display:none}.library-create{padding:0 11px}.library-create .wallet-input-row>input{flex-basis:100%;min-width:0}.library-form-tabs{margin:0 -11px 12px}.library-create .new-report-footer{margin-left:-11px;margin-right:-11px}.library-create #create-button{width:100%}.library-filters{gap:6px}.library-filters>input{flex-basis:100%}.library-filters select{max-width:none;flex:1;min-width:110px}.library-sortbar{flex-wrap:wrap}.library-sortbar>span{flex-basis:100%;margin-bottom:4px}.library-topbar{align-items:flex-start;gap:4px;flex-wrap:wrap;padding-bottom:8px}.library-tools{padding-left:7px}.library-tabs button{padding:12px 10px}.library-pagination>span:first-child{display:none}.library-address-fields{flex-wrap:wrap}.library-address-fields label:last-child{flex-basis:100%}.library-dialog{width:calc(100vw - 20px)}.library-selection{gap:5px}.library-selection>strong{flex-basis:100%}}
.library-table td{padding-top:6px;padding-bottom:6px;line-height:1.3}.library-table .library-counters{display:inline-block;margin-left:8px;font-size:9px;white-space:nowrap}.library-address{display:inline-block;vertical-align:baseline}
/* Strategy previews use cached snapshot totals, separately from realized PnL. */
.library-table .library-strategy{text-align:right;min-width:103px;width:110px;white-space:nowrap;font-variant-numeric:tabular-nums}.library-strategy strong{font-size:11px}.library-table th.library-strategy small{display:block;font-size:9px;color:#74869d;margin-top:3px;font-weight:500}.library-table td.library-strategy small{font-size:8px}.library-table .strategy-five{background:#f6f9ff}.library-table .strategy-fifteen{background:#f9f7fd}.library-table td.library-strategy .strategy-partial{color:#947136}.library-table .library-strategy strong.muted{font-weight:500}.library-table tbody tr:hover .library-strategy{background:#edf3fc}
.library-table .library-slippage{background:#fffbf3;min-width:112px}.library-table th.library-slippage{color:#826b46}
.strategy-report #report .token-avatar,.strategy-report #report .report-profile-counters{display:none}.strategy-report #report .report-coverage{grid-template-columns:repeat(3,minmax(0,1fr))}

.suite-nav{display:flex;align-items:center;gap:8px;padding:12px 28px;border-bottom:1px solid #dce5dc;background:#f8faf7;flex-wrap:wrap}.suite-nav a{font:600 14px system-ui;padding:10px 16px;border-radius:8px;text-decoration:none;color:#355647}.suite-nav a[aria-current=page]{background:#215a40;color:white}.suite-nav span{font:12px system-ui;color:#708075;margin-left:auto}@media(max-width:650px){.suite-nav{padding:10px 14px}.suite-nav span{width:100%;margin:4px 0}}

.library-sortbar{flex-wrap:wrap;row-gap:8px}.library-overview{display:flex;flex:1 1 520px;align-items:baseline;flex-wrap:wrap;gap:5px 14px;min-width:0}.library-overview>span{white-space:nowrap}.library-overview b{color:var(--ink);font-variant-numeric:tabular-nums}.library-filtered-count{font-size:10px;color:#637c9d}.library-sortbar label{margin-left:auto}@media(max-width:600px){.library-overview{flex-basis:100%;margin-bottom:3px;gap:5px 12px}.library-sortbar label{margin-left:0}}

/* One compact entry point for individual and bulk reports. */
.library-home>.library-archive{margin-top:0}.library-tools{align-items:center;flex-wrap:wrap}
#report-create-dialog{width:min(660px,calc(100vw - 32px));max-width:660px;max-height:calc(100dvh - 32px);padding:0;border:1px solid #cbd8e8;border-radius:10px;background:#fff;color:var(--ink);box-shadow:0 22px 80px #1d365e35;overflow:auto}
#report-create-dialog::backdrop{background:#20334f66;backdrop-filter:blur(2px)}
#report-create-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;border-bottom:1px solid var(--line);background:#f8faff;position:sticky;top:0;z-index:2}
#report-create-dialog h2{font-size:16px;letter-spacing:-.2px;margin:0}#report-create-close{font-size:11px;min-height:29px;padding:4px 8px}
.report-create-form{padding:17px 18px 15px}.create-wallet-field{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:600}
#report-create-dialog textarea{width:100%;min-height:132px;max-height:35dvh;resize:vertical;padding:10px 12px;border:1px solid #c4d3e7;border-radius:6px;background:#fbfcff;color:var(--ink);font:12px/1.6 ui-monospace,SFMono-Regular,monospace}
.create-wallet-help{display:flex;gap:12px;align-items:flex-start;justify-content:space-between;margin:6px 0 16px;color:var(--muted);font-size:10px;line-height:1.5}.create-wallet-help strong{white-space:nowrap;font-weight:500;color:#59708e}
.create-param-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 14px}.create-param-grid>label{display:flex;flex-direction:column;gap:5px;min-width:0;font-size:11px;color:#607590}.create-param-grid select,.create-param-grid input{width:100%;min-width:0;min-height:36px;color:var(--ink);font-size:12px}
.create-advanced{margin-top:17px;font-size:11px;color:var(--muted)}.create-advanced summary{cursor:pointer;font-weight:600;color:#526b8a;list-style-position:inside}.create-advanced>div{padding-top:12px}.create-advanced label{display:flex;align-items:center;gap:7px;color:var(--ink);font-size:11px}.create-advanced input[type=checkbox]{min-height:0;width:14px;height:14px}.create-advanced p{font-size:10px;line-height:1.55;margin:5px 0 12px}.create-advanced .text-button{font-size:11px}
.create-dialog-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:15px;padding-top:14px;border-top:1px solid var(--line)}.create-dialog-actions .button{font-size:12px;min-height:36px}.create-dialog-actions .primary{min-width:145px;margin-left:auto}
.create-connection{display:flex;align-items:center;gap:8px 14px;flex-wrap:wrap;padding:9px 18px 11px;border-top:1px solid var(--line);background:#fbfcff;font-size:10px;color:var(--muted)}.create-connection .text-button{font-size:10px}.create-connection>span{margin-right:auto}
.create-preview{margin-top:14px;padding:10px 12px;border:1px solid #ccdaef;border-radius:5px;background:#f4f8ff;font-size:11px;line-height:1.5}.create-preview strong{font-weight:600}.create-preview ul{margin:7px 0 0;padding-left:17px;color:#a34c3c;max-height:130px;overflow:auto}.report-create-form .error:empty{display:none}.report-create-form .error{font-size:11px;margin:10px 0 0}
@media(max-width:600px){#report-create-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:8px}#report-create-dialog>header{padding:12px}.report-create-form{padding:13px 12px}.create-param-grid{gap:11px 10px}.create-wallet-help{flex-wrap:wrap;gap:3px;margin-bottom:13px}#report-create-dialog textarea{min-height:116px}.create-dialog-actions .primary{min-width:0}.create-connection{padding:9px 12px}.library-tools #library-new-report{min-height:29px}}

.library-title{display:flex;align-items:center;gap:13px;padding:12px 4px}.library-title h2{font-size:14px;margin:0;font-weight:700}.library-queue-filter{border:0;background:transparent;color:#71849f;font-size:10px;padding:4px 7px;border-radius:4px}.library-queue-filter span{font-size:9px;padding:1px 5px;background:#edf2fa;border-radius:8px;margin-left:3px}.library-queue-filter[aria-pressed=true]{color:#2462cf;background:#eaf1fd}
.library-table td.library-report-count,.library-table th.library-report-count{width:63px;min-width:63px;text-align:center;padding:8px 6px}.library-table .library-check{width:27px;padding-right:0}.history-toggle{display:inline-flex;align-items:center;justify-content:center;gap:5px;border:1px solid #cddcf2;border-radius:5px;min-width:42px;min-height:27px;padding:3px 6px;background:#f3f7fe;color:#3766a7;font-size:11px;font-variant-numeric:tabular-nums}.history-toggle:hover,.history-toggle[aria-expanded=true]{background:#e6efff;border-color:#a9c1e8}.history-toggle>span{font-size:9px}.history-count{font-size:11px;font-weight:650}.history-branch{color:#92a6c2;font-size:15px}.library-table .wallet-expanded>td{border-bottom-color:#cddcf0}
.library-table .library-history-row td{background:#f8faff;padding-top:7px;padding-bottom:7px}.library-table .library-history-row .library-wallet{padding-left:18px;border-left:2px solid #cedcf0}.library-history-label{font-size:10px;color:#627e9f;font-weight:600}.library-table .library-history-row .strategy-five{background:#f2f6fd}.library-table .library-history-row .strategy-fifteen{background:#f6f3fc}.library-table .library-history-row .library-slippage{background:#fffaef}.library-history-message td{background:#f8faff;font-size:10px!important;color:#7a8ca5;padding-top:8px!important;padding-bottom:8px!important}.library-history-message .text-button{font-size:10px;margin-left:7px}.library-history-row .library-actions{min-width:90px}
@media(max-width:600px){.library-title{padding:9px 2px;gap:8px}.library-topbar{align-items:center}.library-table td.library-report-count,.library-table th.library-report-count{min-width:57px;width:57px}.history-toggle{min-width:36px}}
.library-table .library-light-metrics{min-width:132px;width:140px;text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap;background:#fbfcfe;border-left:1px solid #e5ecf6;padding-left:10px;padding-right:10px}.library-table th.library-light-metrics{text-align:center;background:#f0f5fb}.library-light-metrics>strong{font-size:11px;font-weight:700}.library-light-counts{display:flex;justify-content:flex-end;gap:8px;margin-top:4px;font-size:8px;color:#8190a5}.library-light-counts b{font-size:9px;font-weight:600;color:#58708f}.library-table .cached-metric{color:#97743f}.library-table tbody tr:hover .library-light-metrics{background:#f2f6fc}.library-table .history-metrics-empty{color:#c4cedd;background:#f8faff}
/* The wallet catalogue uses centered, independently queryable columns. */
.library-table th,.library-table td{text-align:center!important;vertical-align:middle!important}.library-table .library-name{text-align:center}.library-wallet-top{justify-content:center}.library-table .library-check{padding:8px}.library-table .library-check input{display:block;margin:auto}.library-table .library-light-counts{justify-content:center}.library-table .library-metric-pnl{min-width:108px;width:118px}.library-table .library-metric-tokens{min-width:77px;width:82px;border-left:1px solid #edf1f7}.library-table .library-metric-tokens strong{font-weight:600;color:#60718f}.library-table .library-metric-tokens strong.cached-metric{color:#97743f}
#library-headers th{padding:7px 9px;z-index:4}#library-headers .library-column-groups th.library-period-group{height:29px;box-sizing:border-box;padding:5px 8px;font-size:10px;border-left:1px solid #d6e0ee}#library-headers .library-column-metrics th{top:29px;z-index:5}#library-headers .library-column-label{font-weight:650;line-height:1.3;white-space:nowrap}#library-headers .library-column-label small{margin-top:3px;font-weight:500;font-size:9px}.library-column-controls{display:flex;align-items:center;justify-content:center;gap:3px;margin-top:5px}.library-table .library-column-controls button{display:inline-flex;align-items:center;justify-content:center;width:23px;height:22px;padding:0;border:1px solid transparent;border-radius:4px;color:#8193ad;background:transparent;font-size:13px;font-weight:600;line-height:1;cursor:pointer}.library-table .library-column-controls button:hover{color:#2e66c6;border-color:#cbd9ec;background:#eaf1fd}.library-table .library-column-controls button.is-sorted,.library-table .library-column-controls button.is-filtered{color:#2263d8;background:#e6effe;border-color:#b8cef2}.library-filter-button svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linejoin:round}.library-table .period-1d{background:#f6f9ef}.library-table .period-7d{background:#f2f7fc}.library-table .period-30d{background:#fdf9ef}.library-table .period-all{background:#f8f4fc}.library-table th.library-period-group.period-1d{background:#eef3e4}.library-table th.library-period-group.period-7d{background:#eaf1fa}.library-table th.library-period-group.period-30d{background:#f7f0de}.library-table th.library-period-group.period-all{background:#f0e9f8}
.library-column-popover{position:fixed;width:286px;box-sizing:border-box;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);overflow:auto;z-index:150;padding:12px;border:1px solid #bdcfe8;border-radius:8px;background:white;box-shadow:0 9px 32px #1f3a612b;color:#26394f;font-size:11px}.library-column-popover[hidden]{display:none}.library-filter-heading{display:flex;align-items:center;justify-content:space-between;gap:9px;margin-bottom:11px}.library-filter-heading strong{font-size:12px;line-height:1.4}.library-filter-heading button{border:0;background:transparent;color:#7c8da3;font-size:21px;line-height:1;padding:0 2px}.library-column-popover>label{display:flex;flex-direction:column;gap:5px;color:#6d829f;font-size:10px;margin-bottom:11px}.library-column-popover fieldset{border:0;border-top:1px solid #e6edf6;margin:10px 0 0;padding:8px 0 0;min-width:0}.library-column-popover legend{padding:0 6px 0 0;color:#677f9b;font-size:10px}.library-column-popover input,.library-column-popover select{width:100%;min-width:0;box-sizing:border-box;border:1px solid #c7d6e9;border-radius:4px;min-height:31px;padding:5px 7px;color:#283d58;background:#fcfdff;font-size:11px}.library-filter-ranges{display:flex;gap:8px}.library-filter-ranges label{display:flex;flex:1;min-width:0;flex-direction:column;gap:4px;font-size:9px;color:#7a8ca6}.library-filter-ranges:has(input[type=datetime-local]){flex-direction:column}.library-filter-actions{display:flex;justify-content:space-between;gap:8px;border-top:1px solid #e6edf6;padding-top:11px;margin-top:12px}.library-filter-actions .button{font-size:10px;min-height:29px;padding:5px 9px}.library-filter-error{font-size:10px;line-height:1.4;margin:8px 0 0}.library-filter-error:empty{display:none}
