.market-history{--history-a:#7253cb;--history-b:#138164;--history-c:#b35723;--history-d:#2475ad;gap:14px;min-width:0;display:grid}[data-theme=dark] .market-history,.dark .market-history{--history-a:#bc9dff;--history-b:#56dab7;--history-c:#ffab79;--history-d:#7cb8ff}.history-heading,.history-datafoot,.history-legend,.history-inspection,.history-select{flex-wrap:wrap;align-items:center;gap:.75rem;display:flex}.history-heading,.history-datafoot{justify-content:space-between}.history-heading h3{letter-spacing:-.025em;margin:0;font-size:1.06rem;line-height:1.3}.history-periods{background:var(--inset);border-radius:8px;gap:2px;padding:2px;display:inline-flex}.history-periods button{color:var(--muted);background:0 0;border:0;border-radius:6px;min-height:28px;padding:5px 9px;font-size:.72rem;font-weight:600}.history-periods button[aria-pressed=true]{color:var(--text);background:var(--panel);box-shadow:0 1px 4px #0002}.history-canvas{width:100%;min-width:0;height:clamp(205px,23vw,340px)}.history-canvas[hidden]{display:none}.history-legend{gap:.65rem 1.3rem}.history-legend span{color:var(--muted);overflow-wrap:anywhere;align-items:center;gap:.4rem;font-size:.82rem;display:inline-flex}.history-legend strong{color:var(--text);font-variant-numeric:tabular-nums}.history-legend i{border-radius:50%;flex:none;width:.55rem;height:.55rem}.history-select,.history-inspection,.history-datafoot,.history-note,.history-credit{color:var(--muted);font-variant-numeric:tabular-nums;margin:0;font-size:.75rem;line-height:1.5}.history-select select{border:1px solid var(--line);background:var(--panel);max-width:100%;font:inherit;color:var(--text);border-radius:6px;padding:.32rem .5rem}.history-inspection input{width:min(100%,15rem);accent-color:var(--accent);height:.8rem}.history-credit{text-underline-offset:3px;width:fit-content;font-size:.65rem;text-decoration:underline}.history-empty{border-block:1px solid var(--line);flex-direction:column;justify-content:center;align-items:flex-start;gap:.4rem;min-height:170px;display:flex}.history-empty strong{letter-spacing:-.02em;font-size:1rem}.history-empty span,.history-empty a{color:var(--muted);font-size:.85rem}.history-empty button,.history-empty a{margin-top:.4rem}@media (max-width:480px){.market-history{gap:.65rem}.history-periods button{padding:6px 8px}.history-canvas{height:220px}}.history-snapshot{gap:1.4rem;padding-block:1.2rem .4rem}.history-snapshot span{grid-template-columns:.55rem auto;display:grid}.history-snapshot strong{letter-spacing:-.055em;grid-column:1/-1;font-size:clamp(2.5rem,5vw,4.4rem);font-weight:550;line-height:1}
.event-view{gap:14px;min-width:0;display:grid}.event-section{gap:15px;display:grid}.event-section+.event-section{border-top:1px solid var(--line);padding-top:16px}.event-head,.event-legend,.event-time,.event-bar-row{align-items:center;gap:14px;display:flex}.event-head,.event-time{flex-wrap:wrap;justify-content:space-between}.event-head h3,.event-view h4,.event-view p{margin:0}.event-head h3{letter-spacing:-.035em;font-size:18px}.event-head>span,.event-time,.event-inspect,.event-view small,.event-feed-status{color:var(--muted);font-size:12px}.event-legend{flex-wrap:wrap}.event-legend span{align-items:center;gap:6px;font-size:13px;display:inline-flex}.event-legend span:before{content:"";background:var(--accent);border-radius:50%;width:8px;height:8px}.event-legend span:nth-child(2):before{background:var(--good)}.event-ranges{gap:2px;display:flex}.event-ranges button{background:0 0;border:0;padding:5px 8px;font-size:12px}.event-ranges button[aria-pressed=true]{color:var(--accent);background:var(--tint)}.event-probability{grid-template-columns:minmax(0,1fr) 36px;gap:6px;display:grid}.event-probability svg{width:100%;height:clamp(135px,17vw,210px);display:block;overflow:visible}.event-probability svg path,.event-probability svg line{vector-effect:non-scaling-stroke;fill:none}.event-guide{stroke:var(--line);stroke-dasharray:3 4}.event-cursor{stroke:var(--control-line);stroke-dasharray:3 4}.event-yes{stroke:var(--accent);stroke-width:2.3px}.event-no{stroke:var(--good);stroke-width:2.1px}.event-dot{fill:var(--accent)}.event-axis{color:var(--muted);font:11px var(--mono);flex-direction:column;justify-content:space-between;display:flex}.event-inspect{gap:4px;display:grid}.event-inspect input{width:100%;accent-color:var(--accent);margin:0}.event-settlement{gap:6px;display:grid}.event-settlement h4{font-size:14px}.event-bar-row{justify-content:space-between;gap:10px}.event-bar-row>span{font:12px var(--mono);overflow-wrap:anywhere}.event-bar-track{background:var(--inset);border-radius:8px;flex:1;min-width:12px;height:8px;overflow:hidden}.event-bar-track>div{background:var(--accent);border-radius:inherit;height:100%}.event-bar-row:last-child .event-bar-track>div{background:var(--good)}.event-feed-status:empty{display:none}.event-bar-row{grid-template-columns:minmax(0,1fr) minmax(7em,32%);display:grid}.event-bar-row>span{text-align:right}
.market-price-figure{min-width:0;margin:0}.market-price-metrics{flex-wrap:wrap;gap:15px 30px;margin:20px 0 16px;display:flex}.market-price-metrics div{gap:3px;display:grid}.market-price-metrics span,.market-price-metrics small,.market-price-inspector,.market-price-figure figcaption{color:var(--muted)}.market-price-metrics span{font-size:13px}.market-price-metrics small{font-size:11px}.market-price-metrics strong{font:600 clamp(18px, 2.1vw, 32px) / 1.1 var(--display);font-variant-numeric:tabular-nums;letter-spacing:-.048em;color:var(--text)}.market-price-metrics strong.spot-up{color:var(--good)}.market-price-metrics strong.spot-down{color:var(--bad)}.market-price-canvas{width:100%;min-width:0;height:clamp(230px,25vw,365px);overflow:hidden}.market-price-figure figcaption,.market-price-inspector{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px 10px;display:flex}.market-price-inspector{font-variant-numeric:tabular-nums;margin:8px 0;font-size:12px}.market-price-inspector select{font:inherit;padding:4px}.market-price-figure figcaption{font-size:11px;line-height:1.5}.market-price-figure figcaption a{color:inherit;text-underline-offset:2px}.market-price-message{border:1px dashed var(--line);color:var(--muted);border-radius:10px;padding:16px;font-size:14px}@media (max-width:550px){.market-price-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.market-price-metrics div:last-child:nth-child(3){grid-column:span 2;align-items:baseline;gap:7px;display:flex}.market-price-metrics div:last-child:nth-child(3) small{display:none}.market-price-canvas{height:220px}}
