:root{--background: #f5efe4;--text: #232521;--muted: #77756d;--muted-soft: #908c82;--border: #dcd3c4;--border-soft: #e9e1d5;--accent: #315f54;--live: #3f8f6b;--error: #9e3f32;--tooltip-background: #232521;--tooltip-text: #f5efe4;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:var(--text);background:var(--background);font-synthesis:none;text-rendering:optimizeLegibility}:root[data-theme=night]{--background: #151e27;--text: #e7edf2;--muted: #8b9aa8;--muted-soft: #6f8190;--border: #2a3b4a;--border-soft: #223241;--accent: #5288c1;--live: #5bb98c;--error: #e17076;--tooltip-background: #0e1621;--tooltip-text: #e7edf2}html,body,#root,.site-shell{background:var(--background)}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}#root{min-height:100vh}button{font:inherit}.site-shell{width:100%;min-height:100vh;height:100vh;height:100dvh;margin:0;padding:0 max(52px,calc((100% - 1076px)/2));display:grid;grid-template-rows:auto 1fr auto;border:0;box-shadow:none}.site-header{min-height:clamp(62px,9dvh,82px);display:flex;align-items:end;justify-content:space-between;border-bottom:1px solid var(--border)}.site-header nav{display:flex;gap:28px}.nav-item{padding:0 0 14px;border:0;border-bottom:2px solid transparent;color:var(--muted);background:transparent;cursor:pointer}.nav-item:hover{color:var(--text)}.nav-item.active{color:var(--text);border-bottom-color:var(--accent)}.theme-toggle{width:30px;height:30px;margin-bottom:7px;padding:6px;border:0;border-radius:50%;background:transparent;color:var(--muted);cursor:pointer}.theme-toggle:hover{background:var(--border-soft);color:var(--text)}.theme-toggle:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.theme-toggle svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.7}main{min-height:0}.curve-page{height:100%;display:grid;grid-template-rows:auto auto minmax(260px,1fr)}.curve-heading{min-height:clamp(54px,7dvh,64px);display:flex;align-items:center;justify-content:flex-start;padding:0 4px;text-align:left}.curve-heading>div{display:flex;align-items:baseline;gap:10px;white-space:nowrap}.curve-heading p{margin:0;color:var(--muted);font-size:11px}.curve-heading strong{font-size:clamp(17px,1.25vw,20px);line-height:1;font-weight:560;letter-spacing:-.035em}.filter-bar{min-height:clamp(36px,4.5dvh,42px);padding:0 4px;display:flex;align-items:center;gap:32px;border-top:1px solid var(--border-soft);border-bottom:1px solid var(--border-soft)}.filter-value{display:flex;align-items:baseline;gap:9px;white-space:nowrap}.filter-value span{color:var(--muted-soft);font-size:10px}.filter-value strong{font-size:11px;font-weight:560}.chart-region{min-height:260px;position:relative}.curve-chart{width:100%;height:100%;min-height:260px}.state-message{min-height:260px;height:100%;margin:0;display:grid;place-items:center;color:var(--muted);font-size:14px}.state-message.error{color:var(--error)}.empty-page{height:100%}.counterparties-page{height:100%;padding:28px 4px 40px;overflow:auto}.counterparties-group+.counterparties-group{margin-top:40px}.counterparties-group>h2{margin:0 0 18px;font-size:17px;font-weight:560;letter-spacing:-.02em}.counterparty-table-heading{min-height:22px;margin-bottom:6px;display:flex;align-items:baseline;justify-content:space-between;gap:16px}.counterparty-table-heading h3{margin:0;color:var(--muted);font-size:12px;font-weight:520}.counterparty-table-heading p{margin:0;color:var(--text);font-size:11px;font-variant-numeric:tabular-nums}.counterparty-table-heading p span{margin-right:4px;color:var(--muted-soft)}.counterparty-table-scroll{overflow-x:auto}.counterparty-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:11px;font-variant-numeric:tabular-nums}.counterparty-table th,.counterparty-table td{height:34px;padding:0 10px;border-bottom:1px solid var(--border-soft);text-align:right;white-space:nowrap}.counterparty-table th{height:30px;color:var(--muted-soft);font-weight:500}.counterparty-table th:first-child,.counterparty-table td:first-child{width:32%;padding-left:0;text-align:left}.counterparty-table .counterparty-entity{width:17%;text-align:left}.counterparties-group:first-child .counterparty-table-section{width:calc((100% - 46px)/2);margin-inline:auto}.counterparties-group:first-child>h2{text-align:center}.counterparty-table th:last-child,.counterparty-table td:last-child{padding-right:0}.counterparty-table a{color:var(--text);text-decoration-color:var(--border);text-underline-offset:3px}.counterparty-table a:hover{text-decoration-color:var(--accent)}.chain-label{margin-left:8px;color:var(--muted-soft);font-size:9px}.outstanding-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:46px}.empty-table{color:var(--muted-soft);text-align:left!important}.counterparties-state{height:100%;margin:0;display:grid;place-items:center;color:var(--muted);font-size:13px}.counterparties-state.error{color:var(--error)}.site-footer{min-height:clamp(54px,8dvh,72px);display:grid;grid-template-columns:1fr auto 1fr;align-items:center;border-top:1px solid var(--border);color:var(--muted);font-size:12px}.site-footer a{width:fit-content;color:inherit;text-underline-offset:3px}.site-footer>:last-child{justify-self:end}.live-status{position:relative;display:inline-flex;align-items:center;gap:7px;cursor:default}.live-status:after{content:attr(data-tooltip);position:absolute;left:50%;bottom:calc(100% + 9px);z-index:2;padding:6px 8px;transform:translate(-50%);border-radius:4px;background:var(--tooltip-background);color:var(--tooltip-text);font-size:11px;line-height:1;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .12s ease}.live-status:hover:after,.live-status:focus:after{opacity:1}.live-dot{width:7px;height:7px;border-radius:50%;background:var(--live)}@media(max-width:720px){.site-shell{width:100%;min-height:100vh;height:auto;margin:0;padding:0 20px;border:0}.curve-heading{min-height:64px}.curve-page{display:block}.filter-bar{gap:22px;overflow-x:auto}.chart-region,.curve-chart,.state-message{min-height:390px;height:390px}.site-footer{grid-template-columns:1fr auto;row-gap:12px;padding:16px 0}.live-status{grid-column:1 / -1;grid-row:1}.counterparties-page{min-height:620px;padding:24px 0 36px}.outstanding-grid{grid-template-columns:1fr;gap:30px}.counterparties-group:first-child .counterparty-table-section{width:100%}.counterparty-table{min-width:430px}}
