/* Quotes use the same coordinate space for area, candles, volume and cursor.
   CSS axes keep type and cursor points undistorted as the plot grows. */
.overview-instrument {
  --oi-ink:#f1f7f4;
  --oi-muted:#a6b8b1;
  --oi-rule:#97b9a823;
  display:flex;flex-direction:column;min-width:0;container-type:inline-size;
  color:var(--oi-ink);padding:20px clamp(15px,1.55vw,26px) 0;
  border:1px solid #bfdcca2d;border-top-color:#c9edd740;border-radius:18px;
  background:radial-gradient(ellipse 85% 95% at 105% -8%,#1c45383f,transparent 87%),linear-gradient(140deg,#141d1c,#0e1716 63%,#101a17);
  box-shadow:inset 0 1px #deffea06;overflow:hidden;
}
.overview-instrument :is(h2,p){margin:0}
.overview-instrument button{font-family:inherit}
.overview-instrument :is(button,[role=slider]):focus-visible{outline:2px solid #b8efcb;outline-offset:3px}
.oi-head,.oi-identity,.oi-tools,.oi-ranges,.oi-value,.oi-stats,.oi-change,.oi-expand,.oi-style,.oi-assets,.oi-asset,.oi-meta,.oi-receipt{
  display:flex;align-items:center;
}
.oi-head{justify-content:space-between;gap:12px}
.oi-identity{min-width:0;gap:10px}
.oi-identity>svg{width:37px;height:37px;flex:none}
.oi-names{min-width:0}
.overview-instrument .oi-title{
  font:620 18px/1.2 system-ui,sans-serif;letter-spacing:-.025em;color:var(--oi-ink);text-align:right;
}
.oi-title small{font:510 13px/1.2 system-ui,sans-serif;color:var(--oi-muted);letter-spacing:0}
.oi-venue{display:block;margin-top:3px;font-size:11px;color:var(--oi-muted);line-height:1.5}
.oi-tools{gap:7px}
.oi-ranges{gap:2px;padding:3px;border-radius:9px;border:1px solid var(--oi-rule);background:#08110f75}
.overview-instrument .oi-range{
  min-height:26px;padding:3px 7px;color:#b3c2bb;border:1px solid transparent;border-radius:6px;
  background:none;font:560 10px/1.2 system-ui,sans-serif;letter-spacing:.035em;
}
.overview-instrument .oi-range[aria-pressed=true]{
  color:#e5f6eb;background:#2a3a32;border-color:#bdd7c524;box-shadow:inset 0 1px #ecffea0a;
}
.overview-instrument .oi-expand,.overview-instrument .oi-style{
  justify-content:center;color:#b4c7bd;border:1px solid var(--oi-rule);background:#effff903;border-radius:8px;
}
.overview-instrument .oi-expand{width:33px;min-height:33px;padding:0}
.oi-stats{flex-wrap:wrap;gap:9px;margin:13px 0 10px}
.oi-value{align-items:baseline;gap:6px;font-family:system-ui,sans-serif;font-variant-numeric:tabular-nums}
.oi-value strong{order:-1;color:#f0fcf3;letter-spacing:-.04em;font:500 clamp(30px,5.5cqw,46px)/1.1 system-ui,sans-serif}
.oi-value small{font:580 11px/1 system-ui,sans-serif;color:#b2c1b9;letter-spacing:.035em}
.oi-change{gap:4px;color:#aab9b1;font-size:10px;line-height:1.5}
.oi-change bdi{font:600 12px/1.4 system-ui,sans-serif;direction:ltr;font-variant-numeric:tabular-nums}
.oi-change[data-direction=up] :is(bdi,svg){color:#85e0ac}
.oi-change[data-direction=down] :is(bdi,svg){color:#f6a494}
.oi-change small{font:inherit;color:#b0bdb5}
.overview-instrument .oi-style{margin-inline-start:auto;min-height:27px;padding:3px 8px;gap:5px;font-size:10px}
.overview-instrument button:not(:disabled):hover{color:#f0fff5;border-color:#9ac6a35c}
.oi-plot{
  min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;
  grid-template-rows:minmax(150px,1fr) auto;flex:1;border-radius:3px;outline-offset:3px;
}
.oi-canvas{position:relative;min-width:0;min-height:160px;cursor:crosshair;touch-action:pan-y}
.oi-canvas>svg{position:absolute;inset:0;display:block;width:100%;height:100%;overflow:visible}
.oi-canvas svg *{vector-effect:non-scaling-stroke}
.oi-grid-y{stroke:#c8e3d926;stroke-width:.8;stroke-dasharray:2 4}
.oi-grid-x{stroke:#bedccd12;stroke-width:.7}
.oi-last-rule{stroke:#8ccfa66b;stroke-width:.8;stroke-dasharray:4 4}
.oi-trace,.oi-trace-under{fill:none;stroke-linejoin:round;stroke-linecap:round}
.oi-trace{stroke:#91efbd;stroke-width:2.15}
.oi-trace-under{stroke:#7edab42c;stroke-width:5}
.oi-single{fill:#b5f5cf}
.oi-rise{--oi-c:#83dca9}.oi-fall{--oi-c:#ed998d}.oi-flat{--oi-c:#8fa699}
.oi-vol{fill:var(--oi-c);stroke:none;opacity:.42}
.oi-candle{fill:var(--oi-c);stroke:none}.oi-wick{stroke:var(--oi-c);stroke-width:1}
.oi-cross{stroke:#d4eee0;stroke-width:.8;stroke-dasharray:3 3}
.oi-pointer{position:absolute;width:7px;height:7px;transform:translate(-50%,-50%);pointer-events:none;
  border-radius:50%;background:#b9f9d1;border:1px solid #d5ffe5;box-shadow:0 0 0 4px #7af6a91b}
.oi-pointer.oi-inspected{width:9px;height:9px;box-shadow:0 0 0 3px #142a20}
.oi-price-axis{position:relative;width:69px;max-width:23cqw;pointer-events:none}
.oi-price-axis>span{position:absolute;left:4px;transform:translateY(-50%);padding:2px 3px;max-width:calc(100% - 5px);
  color:#99ada2;white-space:nowrap;font:510 10px/1.1 system-ui,sans-serif;font-variant-numeric:tabular-nums}
.oi-price-axis .oi-price-tag{color:#c6f8d4;background:#274534;border:1px solid #85cc9f43;border-radius:4px}
.oi-volume-tag{position:absolute;left:7px;bottom:0;color:#9bae9f;font:450 10px/1.2 Vazirmatn,sans-serif}
.oi-time-axis{grid-column:1;position:relative;height:19px;color:#a1b2aa}
.oi-time-axis time{position:absolute;top:4px;font:460 10px/1.4 Vazirmatn,sans-serif;direction:rtl;white-space:nowrap;transform:translateX(-50%)}
.oi-time-axis time:first-child{transform:none}.oi-time-axis time:last-child{transform:translateX(-100%)}
.oi-meta{justify-content:space-between;gap:8px;flex-wrap:wrap;color:#99aea2;margin:8px 0 11px;font-size:10.5px;line-height:1.55}
.oi-receipt{gap:5px;flex-wrap:wrap}
.oi-receipt:before{content:'';width:5px;height:5px;flex:none;border-radius:100%;background:#b9a477}
.oi-receipt[data-fresh=true]:before{background:#7ad59e}
.oi-coverage{font:inherit;color:#dfbf8c}
.oi-reading{color:#b7c9be;font-variant-numeric:tabular-nums}
.oi-assets{direction:ltr;gap:5px;padding:10px 0;flex-wrap:wrap;border-top:1px solid var(--oi-rule)}
.overview-instrument .oi-asset{
  justify-content:center;gap:6px;min-height:29px;padding:4px 10px;color:#b0c1b8;
  border:1px solid transparent;border-radius:8px;background:none;line-height:1.25;font-size:11px;
}
.oi-asset svg{width:16px;height:16px;flex:none}
.oi-asset bdi{font:560 11px/1.3 system-ui,sans-serif}
.overview-instrument .oi-asset[aria-pressed=true]{color:#e8f8ed;background:#23382d;border-color:#9bcda33d}
.overview-instrument .oi-no-data{min-height:145px;flex:1;display:grid;place-content:center;text-align:center;color:#b1c4b6;
  background:linear-gradient(165deg,#18272040,#101a16a8);border-radius:10px;font-size:13px;line-height:1.8}
.oi-empty-heading{font:600 19px/1.6 Vazirmatn,sans-serif}
@container (max-width:430px){
  .oi-identity{gap:7px}.oi-identity>svg{width:29px;height:29px}.overview-instrument .oi-title{font-size:16px}.oi-title small{font-size:11px}
  .oi-venue{font-size:10px}.oi-tools{gap:3px}.overview-instrument .oi-range{padding-inline:5px}
  .oi-change small{display:none}.oi-stats{gap:7px}
  .oi-assets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px}
  .overview-instrument .oi-asset{min-height:31px;padding:4px}
  .oi-time-axis time:nth-child(3){display:none}
  .oi-price-axis{width:57px}.oi-price-axis>span{font-size:9px}.oi-meta{row-gap:3px}
}
@media (max-width:720px){.overview-instrument{padding:14px 12px 0}.oi-canvas{min-height:151px}}
