/* Migrated stable research component. Scoped to preserve Hermes planning layout. */
#hermes-eurc{--ink:#edf5ff;--cyan:#67edc4;--gold:#f7c774;--base:#1557ff;--muted:#a4bac0;--line:#29434a;scroll-margin-top:110px}
#hermes-eurc .section-head{display:flex;justify-content:space-between;align-items:start;gap:20px}
#hermes-eurc .section-head h2{font-size:clamp(23px,3vw,34px);margin:10px 0 24px}
#hermes-eurc .tag{display:inline-block;padding:7px 10px;border:1px solid #46606a;border-radius:20px;font-size:10px;white-space:nowrap;color:#f7c774}
#hermes-eurc .limit,#hermes-eurc .research-note{font-size:12px;color:#a4bac0;line-height:1.7}
#hermes-eurc .positive{color:#67edc4}#hermes-eurc .negative{color:#ff9b98}#hermes-eurc .neutral{color:#a4bac0}
#hermes-eurc .research-refresh{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:10px}
#hermes-eurc #researchStatus{font-size:12px;color:#f7c774;margin:0}
#hermes-eurc .table-scroll{max-width:100%;overflow:auto}
#hermes-eurc table{white-space:nowrap}#hermes-eurc td{min-width:0}
#hermes-eurc .chart-empty{fill:#a4bac0;font:16px system-ui}
#hermes-eurc .table-scroll{overflow:auto}
#hermes-eurc .segmented button{font:inherit}
#hermes-eurc .segmented button{cursor:pointer}
#hermes-eurc .segmented button:hover{border-color:rgba(62,230,208,.55)}
#hermes-eurc .segmented{display:flex;justify-content:flex-end;margin-bottom:10px}
#hermes-eurc .segmented button{padding:7px 10px;border:1px solid var(--line);background:#07101a;color:var(--muted);font-size:10px}
#hermes-eurc .segmented button:first-child{border-radius:8px 0 0 8px}
#hermes-eurc .segmented button:last-child{border-radius:0 8px 8px 0}
#hermes-eurc .segmented button.active{background:rgba(21,87,255,.22);color:#d9e7ff;border-color:rgba(21,87,255,.55)}
#hermes-eurc .hermes-control label{display:flex;justify-content:space-between;gap:8px}
#hermes-eurc .hermes-control label b{color:var(--gold);font:700 8px/1.2 ui-monospace,monospace}
#hermes-eurc .hermes-control>div{display:grid;grid-template-columns:80px 1fr;align-items:center;gap:8px;margin:8px 0}
#hermes-eurc .hermes-control input{width:80px;height:39px;padding:0 10px;border:1px solid rgba(231,196,111,.32);border-radius:8px;background:#080e13;color:var(--ink);font-weight:900}
#hermes-eurc .hermes-control em{color:var(--muted);font-size:11px;font-style:normal}
#hermes-eurc .hermes-chart-head{display:flex;justify-content:space-between;gap:10px}
#hermes-eurc .hermes-chart-head span,#hermes-eurc .hermes-chart-head b{font:750 9px/1.3 ui-monospace,monospace;letter-spacing:.08em}
#hermes-eurc .hermes-chart-head span{color:var(--muted);text-transform:uppercase}
#hermes-eurc .hermes-chart-head b{color:var(--gold);font-weight:700}
#hermes-eurc .hermes-chart .peg-line{stroke:rgba(255,255,255,.28);stroke-width:1;stroke-dasharray:8 6}
#hermes-eurc .hermes-source{display:grid;grid-template-columns:1.3fr 1fr 1fr auto;align-items:center;gap:12px;margin-top:10px;padding:13px 15px;border:1px solid var(--line);border-radius:12px;background:rgba(4,10,16,.42)}
#hermes-eurc .hermes-source span,#hermes-eurc .hermes-source strong{display:block}
#hermes-eurc .hermes-source span{color:var(--muted);font-size:9px;text-transform:uppercase}
#hermes-eurc .hermes-source strong{font-size:11px}
#hermes-eurc .hermes-source a{color:var(--gold);font-size:10px;text-decoration:none}
@media(max-width:1050px){#hermes-eurc .hermes-source{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:580px){#hermes-eurc .hermes-source{grid-template-columns:1fr}
#hermes-eurc .hermes-chart-head{display:grid}
}
#hermes-eurc{border-color:rgba(65,211,176,.25);background:radial-gradient(circle at 8% 0,rgba(65,211,176,.10),transparent 30rem),linear-gradient(145deg,rgba(7,23,24,.92),rgba(7,14,21,.97))}
#hermes-eurc .eurc-overview{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
#hermes-eurc .eurc-overview article,#hermes-eurc .eurc-liquidity-grid article,#hermes-eurc .eurc-proof-grid>article{min-width:0;padding:18px;border:1px solid rgba(65,211,176,.18);border-radius:14px;background:rgba(4,10,16,.55)}
#hermes-eurc .eurc-overview span,#hermes-eurc .eurc-liquidity-grid span,#hermes-eurc .proof-stats span{display:block;color:#87bfb3;font:760 9px/1.3 ui-monospace,monospace;letter-spacing:.08em;text-transform:uppercase}
#hermes-eurc .eurc-overview strong{display:block;margin:9px 0 6px;color:var(--cyan);font-size:24px}
#hermes-eurc .eurc-overview small,#hermes-eurc .eurc-liquidity-grid small{color:var(--muted);font-size:10px}
#hermes-eurc .eurc-liquidity-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:10px}
#hermes-eurc .eurc-liquidity-grid article{display:grid;grid-template-columns:1fr auto;align-items:center;gap:4px 16px}
#hermes-eurc .eurc-liquidity-grid b{display:block;margin-top:3px;color:var(--muted);font-size:10px}
#hermes-eurc .eurc-liquidity-grid strong{color:var(--ink);font-size:24px;text-align:right}
#hermes-eurc .eurc-liquidity-grid small{grid-column:1}
#hermes-eurc .eurc-liquidity-grid a{grid-column:2;grid-row:2;color:var(--cyan);font-size:10px;text-align:right;text-decoration:none}
#hermes-eurc .eurc-proof-grid{display:grid;grid-template-columns:.72fr 1.28fr;gap:10px;margin-top:10px}
#hermes-eurc .proof-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-top:13px}
#hermes-eurc .proof-stats div{padding:12px;border:1px solid var(--line);border-radius:10px;background:rgba(255,255,255,.015)}
#hermes-eurc .proof-stats strong{display:block;margin-top:7px;color:var(--gold);font-size:19px}
#hermes-eurc .study-conclusion{margin:14px 0 0;padding:12px;border-left:3px solid var(--gold);background:rgba(231,196,111,.05);color:var(--ink);font-size:11px;line-height:1.55}
#hermes-eurc .route-state{display:inline-block;padding:4px 7px;border-radius:999px;background:rgba(143,178,255,.10);color:#9dbafc;font:800 8px/1 ui-monospace,monospace;text-transform:uppercase}
#hermes-eurc .route-state.trigger{background:rgba(65,211,176,.12);color:var(--cyan)}
#hermes-eurc .eurc-sources{border-color:rgba(65,211,176,.16)}
@media(max-width:1050px){#hermes-eurc .eurc-overview{grid-template-columns:repeat(2,1fr)}
#hermes-eurc .eurc-proof-grid{grid-template-columns:1fr}
}
@media(max-width:660px){#hermes-eurc .eurc-overview,#hermes-eurc .eurc-liquidity-grid{grid-template-columns:1fr}
#hermes-eurc .eurc-liquidity-grid article{grid-template-columns:1fr}
#hermes-eurc .eurc-liquidity-grid strong,#hermes-eurc .eurc-liquidity-grid a{text-align:left}
#hermes-eurc .eurc-liquidity-grid strong,#hermes-eurc .eurc-liquidity-grid small,#hermes-eurc .eurc-liquidity-grid a{grid-column:1;grid-row:auto}
#hermes-eurc .proof-stats{grid-template-columns:1fr}
}
#hermes-eurc .peg-comparison-card{margin-top:10px;padding:18px;border:1px solid rgba(143,178,255,.22);border-radius:14px;background:linear-gradient(145deg,rgba(8,16,29,.88),rgba(4,10,16,.62))}
#hermes-eurc .peg-comparison-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}
#hermes-eurc .peg-comparison-head h3{margin:3px 0 4px;font-size:19px}
#hermes-eurc .peg-comparison-head p{max-width:680px;margin:0;color:var(--muted);font-size:11px}
#hermes-eurc .peg-range{flex:none}
#hermes-eurc .peg-chart-legend{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:16px;color:var(--muted);font:750 9px/1.3 ui-monospace,monospace;letter-spacing:.06em;text-transform:uppercase}
#hermes-eurc .peg-chart-legend span:before{content:"";display:inline-block;width:18px;height:3px;margin-right:6px;vertical-align:middle;border-radius:2px}
#hermes-eurc .peg-chart-legend .usdc:before{background:#8fb2ff}
#hermes-eurc .peg-chart-legend .eurc:before{background:var(--cyan)}
#hermes-eurc .peg-chart-legend .usdt:before{background:#8cf2c4}
#hermes-eurc .peg-chart-legend .peg:before{height:1px;background:#dce8f4}
#hermes-eurc .peg-chart-legend .threshold:before{height:1px;background:var(--gold)}
#hermes-eurc .peg-chart-legend b{margin-left:auto;color:#9db0c3;font-weight:700}
#hermes-eurc .peg-chart-wrap{position:relative;margin-top:8px}
#hermes-eurc .peg-comparison-chart{display:block;width:100%;height:320px;border:1px solid var(--line);border-radius:10px;background:linear-gradient(to bottom,rgba(255,128,97,.025),transparent 43%,rgba(65,211,176,.025));touch-action:none}
#hermes-eurc .peg-comparison-chart .peg-grid{stroke:rgba(143,178,255,.10);stroke-width:1;vector-effect:non-scaling-stroke}
#hermes-eurc .peg-comparison-chart .peg-zero{stroke:rgba(230,240,250,.48);stroke-width:1.4;stroke-dasharray:7 5;vector-effect:non-scaling-stroke}
#hermes-eurc .peg-comparison-chart .peg-threshold{stroke:rgba(231,196,111,.55);stroke-width:1;stroke-dasharray:4 5;vector-effect:non-scaling-stroke}
#hermes-eurc .peg-comparison-chart .peg-axis-label{fill:#73879a;font:700 11px ui-monospace,monospace}
#hermes-eurc .peg-comparison-chart .peg-usdc-line,#hermes-eurc .peg-comparison-chart .peg-eurc-line,#hermes-eurc .peg-comparison-chart .peg-usdt-line{fill:none;stroke-width:2.5;vector-effect:non-scaling-stroke}
#hermes-eurc .peg-comparison-chart .peg-usdc-line{stroke:#8fb2ff}
#hermes-eurc .peg-comparison-chart .peg-eurc-line{stroke:var(--cyan)}
#hermes-eurc .peg-comparison-chart .peg-usdt-line{stroke:#8cf2c4;stroke-dasharray:7 4}
#hermes-eurc .peg-comparison-chart .peg-hover-line{stroke:rgba(255,255,255,.38);stroke-width:1;stroke-dasharray:3 4;vector-effect:non-scaling-stroke}
#hermes-eurc .peg-comparison-chart .peg-hover-dot-usdc{fill:#8fb2ff;stroke:#06101a;stroke-width:2}
#hermes-eurc .peg-comparison-chart .peg-hover-dot-eurc{fill:var(--cyan);stroke:#06101a;stroke-width:2}
#hermes-eurc .peg-comparison-chart .peg-hover-dot-usdt{fill:#8cf2c4;stroke:#06101a;stroke-width:2}
#hermes-eurc .peg-comparison-chart .chart-empty{fill:var(--muted);font:700 18px ui-monospace,monospace}
#hermes-eurc .peg-chart-tooltip{position:absolute;z-index:3;min-width:215px;max-width:270px;padding:11px 12px;border:1px solid rgba(143,178,255,.34);border-radius:9px;background:rgba(4,10,16,.96);box-shadow:0 12px 32px rgba(0,0,0,.44);pointer-events:none;color:#d5e1ed;font:700 10px/1.5 ui-monospace,monospace}
#hermes-eurc .peg-chart-tooltip b,#hermes-eurc .peg-chart-tooltip span{display:block}
#hermes-eurc .peg-chart-tooltip b{margin-bottom:4px;color:#fff}
#hermes-eurc .peg-chart-tooltip .tip-usdc{color:#a8c3ff}
#hermes-eurc .peg-chart-tooltip .tip-eurc{color:var(--cyan)}
#hermes-eurc .peg-chart-tooltip .tip-usdt{color:#8cf2c4}
#hermes-eurc .peg-chart-tooltip small{display:block;margin-top:4px;color:var(--muted);font-size:8px;text-transform:uppercase}
#hermes-eurc .peg-chart-axis{display:flex;justify-content:space-between;margin-top:6px;color:var(--muted);font:700 9px/1.3 ui-monospace,monospace}
#hermes-eurc .peg-chart-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:10px}
#hermes-eurc .peg-chart-stats div{padding:12px;border:1px solid var(--line);border-radius:10px;background:rgba(255,255,255,.015)}
#hermes-eurc .peg-chart-stats span,#hermes-eurc .peg-chart-stats small{display:block;color:var(--muted);font-size:9px}
#hermes-eurc .peg-chart-stats strong{display:block;margin:6px 0 4px;font-size:17px}
#hermes-eurc .peg-comparison-card>.limit{margin-bottom:0}
@media(max-width:800px){#hermes-eurc .peg-comparison-head{display:grid}
#hermes-eurc .peg-chart-stats{grid-template-columns:repeat(2,1fr)}
#hermes-eurc .peg-chart-legend b{width:100%;margin-left:0}
#hermes-eurc .peg-comparison-chart{height:270px}
}
@media(max-width:580px){#hermes-eurc .peg-range{width:100%;display:grid;grid-template-columns:repeat(4,1fr)}
#hermes-eurc .peg-range button{padding-inline:7px}
#hermes-eurc .peg-chart-legend{gap:10px}
#hermes-eurc .peg-comparison-chart{height:235px}
#hermes-eurc .peg-chart-axis span:nth-child(2){display:none}
#hermes-eurc .peg-chart-stats{grid-template-columns:1fr}
#hermes-eurc .peg-chart-tooltip{min-width:190px;max-width:220px}
}
#hermes-eurc .usdt-proof-stats{margin-top:11px}
#hermes-eurc .stable-price-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0 12px}
#hermes-eurc .stable-price-strip article{min-width:0;padding:15px;border:1px solid var(--line);border-radius:12px;background:rgba(4,10,16,.62)}
#hermes-eurc .stable-price-strip article.usdc{border-color:rgba(143,178,255,.25)}
#hermes-eurc .stable-price-strip article.eurc{border-color:rgba(57,219,201,.25)}
#hermes-eurc .stable-price-strip article.usdt{border-color:rgba(67,224,151,.25)}
#hermes-eurc .stable-price-strip span,#hermes-eurc .stable-price-strip strong,#hermes-eurc .stable-price-strip b,#hermes-eurc .stable-price-strip small{display:block}
#hermes-eurc .stable-price-strip span{color:var(--muted);font:760 8px/1.3 ui-monospace,monospace;letter-spacing:.07em;text-transform:uppercase}
#hermes-eurc .stable-price-strip strong{margin-top:8px;color:#ecf6ff;font-size:clamp(21px,2.5vw,29px);font-variant-numeric:tabular-nums}
#hermes-eurc .stable-price-strip b{margin-top:6px;font:850 11px/1.35 ui-monospace,monospace}
#hermes-eurc .stable-price-strip b.positive{color:var(--cyan)}
#hermes-eurc .stable-price-strip b.negative{color:var(--orange)}
#hermes-eurc .stable-price-strip b.neutral{color:var(--muted)}
#hermes-eurc .stable-price-strip small{margin-top:5px;color:#8396ae;font-size:9px;line-height:1.4}
#hermes-eurc .collapsible-card .table-scroll{padding:0 18px 18px}
@media(max-width:760px){#hermes-eurc .stable-price-strip{grid-template-columns:1fr}
}
#hermes-eurc .market-grid .hermes-chart-head{font-size:11px;line-height:1.45}
#hermes-eurc .market-grid .hermes-chart-head b{font-size:10px}
#hermes-eurc .peg-comparison-chart .peg-usdc-line{stroke-width:3.25;filter:drop-shadow(0 0 3px rgba(143,178,255,.7))}
#hermes-eurc .peg-comparison-chart .peg-latest-dot{stroke:#06101a;stroke-width:2;vector-effect:non-scaling-stroke}
#hermes-eurc .peg-comparison-chart .peg-latest-usdc{fill:#8fb2ff}
#hermes-eurc .peg-comparison-chart .peg-latest-eurc{fill:var(--cyan)}
#hermes-eurc .peg-comparison-chart .peg-latest-usdt{fill:#8cf2c4}
#hermes-eurc .peg-chart-legend .usdc:before{background:#0052ff}
#hermes-eurc .peg-chart-legend .eurc:before{background:#ff9b16}
#hermes-eurc .peg-chart-legend .usdt:before{background:#43e097}
#hermes-eurc .peg-comparison-chart .peg-usdc-line{stroke:#0052ff;filter:drop-shadow(0 0 3px rgba(0,82,255,.82))}
#hermes-eurc .peg-comparison-chart .peg-eurc-line{stroke:#ff9b16}
#hermes-eurc .peg-comparison-chart .peg-usdt-line{stroke:#43e097;stroke-dasharray:7 4}
#hermes-eurc .peg-comparison-chart .peg-hover-dot-usdc,#hermes-eurc .peg-comparison-chart .peg-latest-usdc{fill:#0052ff}
#hermes-eurc .peg-comparison-chart .peg-hover-dot-eurc,#hermes-eurc .peg-comparison-chart .peg-latest-eurc{fill:#ff9b16}
#hermes-eurc .peg-comparison-chart .peg-hover-dot-usdt,#hermes-eurc .peg-comparison-chart .peg-latest-usdt{fill:#43e097}
#hermes-eurc .peg-chart-tooltip .tip-usdc{color:#7fa6ff}
#hermes-eurc .peg-chart-tooltip .tip-eurc{color:#ffad3d}
#hermes-eurc .peg-chart-tooltip .tip-usdt{color:#67e6ac}
#hermes-eurc .peg-comparison-card .eyebrow{font-size:11px;line-height:1.45}
#hermes-eurc .peg-comparison-head p{font-size:13px;line-height:1.55}
#hermes-eurc .peg-range button{padding:8px 11px;font-size:12px}
#hermes-eurc .stable-price-strip span{font-size:11px;line-height:1.45}
#hermes-eurc .stable-price-strip b{font-size:13px;line-height:1.45}
#hermes-eurc .stable-price-strip small{font-size:11px;line-height:1.55}
#hermes-eurc .peg-chart-legend{font-size:11px;line-height:1.5;gap:18px}
#hermes-eurc .peg-chart-legend span:before{width:21px;margin-right:7px}
#hermes-eurc .peg-comparison-chart .peg-axis-label{font-size:13px}
#hermes-eurc .peg-chart-axis{font-size:11px;line-height:1.45}
#hermes-eurc .peg-chart-stats span,#hermes-eurc .peg-chart-stats small{font-size:11px;line-height:1.45}
#hermes-eurc .peg-chart-stats strong{font-size:18px}
#hermes-eurc .peg-chart-tooltip{font-size:12px;line-height:1.55}
#hermes-eurc .peg-chart-tooltip small{font-size:10px;line-height:1.45}
@media(max-width:700px){#hermes-eurc .peg-comparison-head p{font-size:12px}
#hermes-eurc .peg-chart-legend{font-size:10.5px;gap:12px}
#hermes-eurc .peg-chart-axis{font-size:10.5px}
#hermes-eurc .peg-chart-stats span,#hermes-eurc .peg-chart-stats small{font-size:10.5px}
}
#hermes-eurc .market-grid .hermes-chart-head{flex-wrap:wrap;overflow-wrap:anywhere}

#hermes-eurc .eurc-overview>article,#hermes-eurc .eurc-liquidity-grid>article,#hermes-eurc .eurc-proof-grid>article{min-width:0}
#hermes-eurc .eurc-overview strong{overflow-wrap:anywhere}
#hermes-eurc .peg-chart-tooltip{max-width:calc(100% - 12px);box-sizing:border-box}
#hermes-eurc input{max-width:100px;display:inline-block;margin:0}
@media(max-width:660px){#hermes-eurc{padding:18px}#hermes-eurc .section-head,#hermes-eurc .research-refresh{flex-direction:column}#hermes-eurc .eurc-proof-grid{grid-template-columns:1fr}#hermes-eurc .peg-comparison-card{padding:12px}#hermes-eurc .peg-chart-wrap{overflow:hidden}#hermes-eurc .peg-comparison-chart{min-width:0}}
