.od-dashboard {
  --od-ink: #111412;
  --od-muted: #666b70;
  --od-line: #eceeed;
  --od-teal: #347967;
  --od-lime: #afe02d;
  --od-mint: #24c999;
  --od-gap: clamp(8px, 0.85vw, 14px);
  container: byte-dashboard / inline-size;
  color: var(--od-ink);
  font-family: "DM Sans", Arial, sans-serif;
  font-variant-numeric: lining-nums;
}
.od-dashboard *,
.od-dashboard *::before,
.od-dashboard *::after {
  box-sizing: border-box;
}
.od-dashboard :is(h2, h3, p, dl, dd) {
  margin: 0;
}
.od-dashboard [hidden] {
  display: none !important;
}
.od-dashboard button,
.od-dashboard select {
  font: inherit;
  color: inherit;
}
.od-dashboard button,
.od-dashboard select,
.od-dashboard a {
  cursor: pointer;
}
.od-dashboard a {
  color: inherit;
  text-decoration: none;
}
.od-dashboard :is(a, button, select):focus-visible {
  outline: 2px solid #25705c;
  outline-offset: 3px;
}

.od-dashboard .od-panel { min-width: 0; }
.od-top, .od-bottom { display: grid; gap: var(--od-gap); }
.od-top {
  --od-gap: clamp(18px, 2.1cqw, 38px);
  grid-template-columns: repeat(3,minmax(0,1fr));
  padding-block: clamp(23px,3.1vh,39px);
  border-bottom: 1px solid #dfe5df;
}
.od-top .od-panel { display: flex; flex-direction: column; }
.od-top .od-panel + .od-panel { border-left: 1px solid #e4e9e4; padding-left: var(--od-gap); }
.od-bottom {
  --od-gap: clamp(23px, 3cqw, 52px);
  --od-lower-height: clamp(305px, 36vh, 420px);
  grid-template-columns: minmax(0,1.64fr) minmax(0,1fr);
  padding-block: clamp(24px, 3.6vh, 42px);
  border-bottom: 1px solid #dfe5df;
}
.od-mix { border-left: 1px solid #e4e9e4; padding-left: var(--od-gap); }
.od-head,
.od-meter-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.od-head,
.od-select,
.od-meter-foot {
  color: var(--od-ink);
}
.od-head h2 {
  font:
    600 clamp(15px, 1.32cqw, 19px) / 1.3 "DM Sans",
    Arial,
    sans-serif;
  letter-spacing: -0.035em;
}
.od-head > span,
.od-head a,
.od-select,
.od-meter-foot {
  font-size: clamp(11px, 1.04cqw, 14px);
}
.od-head a,
.od-meter-foot a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.od-head a:hover,
.od-meter-foot a:hover {
  text-decoration: underline;
}
.od-select {
  display: inline-flex;
  align-items: center;
  position: relative;
  flex-shrink: 0;
}
.od-select select {
  background: transparent;
  appearance: none;
  border: 0;
  border-radius: 4px;
  padding: 5px 17px 5px 4px;
  font-weight: 500;
  line-height: 1.2;
}
.od-select .icon {
  position: absolute;
  right: 2px;
  pointer-events: none;
}
.od-primary {
  margin: clamp(20px, 2.8vh, 34px) 0 0;
}
.od-primary > p,
.od-hold-title h2 {
  font:
    400 clamp(12px, 1.17cqw, 16px) / 1.35 "DM Sans",
    Arial,
    sans-serif;
  color: var(--od-muted);
  letter-spacing: -0.025em;
}
.od-primary > p {
  margin-bottom: 4px;
}
.od-figure {
  display: inline-flex;
  align-items: baseline;
  max-width: 100%;
  white-space: nowrap;
  font-weight: 440;
  font-size: clamp(31px, 4.55cqw, 64px);
  line-height: 1.08;
  letter-spacing: -0.069em;
}
.od-figure.od-long {
  font-size: clamp(26px, 3.9cqw, 57px);
}
.od-figure small,
.od-percent small {
  color: #6c7080;
  font-size: 0.63em;
  letter-spacing: -0.055em;
  font-weight: 400;
}
.od-number-link {
  display: inline-flex;
  max-width: 100%;
  border-radius: 4px;
}
.od-number-link:hover .od-figure {
  color: #235f4e;
}
.od-chips {
  display: flex;
  align-items: start;
  flex-wrap: wrap;
  gap: 7px 15px;
}
.od-chip-stack {
  flex-direction: column;
}
.od-volume .od-chips {
  margin-top: clamp(13px, 1.75cqw, 24px);
}
.od-chip {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  color: #505d54;
  font-size: clamp(12px, 0.98cqw, 14px);
  line-height: 1.25;
  letter-spacing: -0.035em;
}
.od-chip > .icon {
  color: #73757e;
  width: 1.1em;
  height: 1.1em;
  margin-right: 2px;
}
.od-chip b {
  font-weight: 600;
  color: #1c604c;
}
.od-settle-figure {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 4px;
}
.od-settlements .od-figure,
.od-holds .od-figure {
  font-size: clamp(25px, 3.3cqw, 47px);
  letter-spacing: -0.065em;
}
.od-settlements .od-figure.od-long,
.od-holds .od-figure.od-long {
  font-size: clamp(22px, 2.85cqw, 41px);
}
.od-settlements .od-chips,
.od-holds .od-chips {
  margin-top: clamp(8px, 1.55cqw, 20px);
}
.od-pixels {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1px;
  width: clamp(35px, 6.5cqw, 86px);
  flex-shrink: 1;
  min-width: 27px;
  padding-bottom: 3px;
  mask-image: linear-gradient(90deg, #0003, #000 29%, #000 78%, #0002);
}
.od-pixels > span {
  display: flex;
  flex-direction: column-reverse;
  gap: 1px;
}
.od-pixels i {
  display: block;
  aspect-ratio: 1;
  background: #387e6c;
  border-radius: 1px;
}
.od-pixels > span:nth-child(4n + 1) i {
  background: #bedf49;
}
.od-pixels > span:nth-child(4n + 2) i {
  background: #76dcc0;
}
.od-pixels i:nth-child(2) {
  opacity: 0.72;
}
.od-pixels i:nth-child(3) {
  opacity: 0.53;
}
.od-pixels i:nth-child(4) {
  opacity: 0.34;
}
.od-pixels i:nth-child(5) {
  opacity: 0.21;
}
.od-mini-rails {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  margin-top: clamp(15px, 1.6cqw, 24px) !important;
}
.od-mini-rails > div {
  padding-left: clamp(7px, 0.9cqw, 13px);
  border-left: 1.5px solid #527e75;
  min-width: 0;
}
.od-mini-rails > div:nth-child(2) {
  border-color: var(--od-lime);
}
.od-mini-rails > div:nth-child(3) {
  border-color: var(--od-mint);
}
.od-mini-rails dt {
  color: var(--od-muted);
  font-size: clamp(10px, 1cqw, 13px);
}
.od-mini-rails dd {
  margin-top: 1px;
  white-space: nowrap;
  font-size: clamp(13px, 1.45cqw, 20px);
  line-height: 1.12;
  letter-spacing: -0.055em;
}
.od-hold-title h2 {
  margin-top: 4px;
}
.od-meter {
  margin-top: 14px;
}
.od-meter-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  color: #343936;
  font-size: clamp(10px, 0.97cqw, 13px);
}
.od-ticks {
  display: grid;
  grid-template-columns: repeat(28, minmax(0, 1fr));
  gap: clamp(2px, 0.27cqw, 4px);
  height: clamp(14px, 2.3vh, 26px);
}
.od-ticks i {
  background: #eff7d8;
  border-radius: 8px;
}
.od-ticks i.on {
  background: var(--od-lime);
}
.od-meter-foot {
  margin-top: clamp(10px, 1.75cqw, 22px);
}
.od-meter-foot a .icon {
  color: #81ad12;
  fill: #b6df50;
}
.od-chart,
.od-mix {
  min-height: var(--od-lower-height);
  display: flex;
  flex-direction: column;
}
.od-chart .od-head {
  gap: 6px;
}
.od-legend {
  display: flex;
  align-items: center;
  gap: clamp(4px, 1.05cqw, 15px);
}
.od-legend button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 0;
  border: 0;
  background: none;
  color: #626762;
  font-size: clamp(10px, 0.97cqw, 13px);
  line-height: 1.2;
}
.od-legend i {
  width: 9px;
  height: 9px;
  border-radius: 3px;
  border: 1px solid #0000000d;
}
.od-legend .s0,
.od-tip .s0,
.od-seg.s0 {
  background: var(--od-teal);
}
.od-legend .s1,
.od-tip .s1,
.od-seg.s1 {
  background: var(--od-lime);
}
.od-legend .s2,
.od-tip .s2,
.od-seg.s2,
.od-tile-cap {
  background: repeating-linear-gradient(152deg, #edf6f3 0 5px, #f8fcfa 5px 6px);
}
.od-legend [aria-pressed="false"] {
  color: #828782;
  text-decoration: line-through;
}
.od-legend [aria-pressed="false"] i {
  opacity: 0.3;
}
.od-graph-area {
  display: flex;
  flex-direction: column;
  margin-top: clamp(11px, 2.1cqw, 29px);
  flex: 1;
}
.od-graph-area > div:not([hidden]) {
  display: flex;
  flex: 1;
  flex-direction: column;
}
.od-plot {
  position: relative;
  display: flex;
  flex: 1;
  margin: 0 0 25px 45px;
  min-height: calc(var(--od-lower-height) - 86px);
}
.od-scale { position: absolute; inset: 0 100% 0 auto; width: 45px; color: #607067; }
.od-scale span { position: absolute; right: 7px; font-size: 11px; white-space: nowrap; transform: translateY(50%); }
.od-columns {
  position: absolute;
  inset: 0;
  display: flex;
  gap: clamp(3px, .45cqw, 8px);
  border-bottom: 1px solid #d6ded8;
  background: repeating-linear-gradient(to top, transparent 0, transparent calc(25% - 1px), #eaf0eb calc(25% - 1px), #eaf0eb 25%);
}
.od-col {
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
  display: flex;
  align-items: flex-end;
  position: relative;
  border: 0;
  padding: 0;
  background: transparent;
  border-radius: 7px;
}
.od-bar {
  position: relative;
  width: 100%;
}
.od-seg {
  display: block;
  position: absolute;
  inset: auto 0 0;
  min-height: 1px;
  border-radius: 6px 6px 0 0;
}
.od-col:hover .od-bar,
.od-col.pinned .od-bar,
.od-col:focus-visible .od-bar {
  filter: saturate(1.12) brightness(0.96);
}
.od-axis {
  position: absolute;
  bottom: -21px;
  width: 100%;
  text-align: center;
  color: var(--od-muted);
  font-size: clamp(11px, 1cqw, 13px);
  letter-spacing: -0.04em;
}
.od-guide {
  position: absolute;
  bottom: var(--marker-y);
  width: 100%;
  border-top: 1px dotted #597f72;
  pointer-events: none;
  z-index: 1;
}
.od-guide::after {
  content: "";
  position: absolute;
  left: var(--marker-x);
  top: -1px;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: var(--od-teal);
}
.od-tip {
  position: absolute;
  z-index: 2;
  --tip-width: min(14.25rem, 100%);
  --tip-left: calc(var(--marker-x) - var(--tip-width) - 10px);
  top: calc(100% - var(--marker-y));
  left: clamp(0px, var(--tip-left), calc(100% - var(--tip-width)));
  transform: translateY(calc(var(--marker-y) - 100%));
  width: var(--tip-width);
  padding: 9px 12px;
  color: #fff;
  background: #08221a;
  border: 1px solid #051811;
  border-radius: 7px;
  box-shadow: 0 5px 10px #08231a1c;
  pointer-events: none;
}
.od-plot:not(.inspecting) :is(.od-guide, .od-tip) { visibility: hidden; }
.od-tip.tip-right {
  --tip-left: calc(var(--marker-x) + 10px);
}
.od-tip-time { display: block; margin-bottom: 5px; color: #d5e4dc; font-size: 12px; }
.od-tip dl > div { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: baseline; gap: 8px; font-size: 13px; line-height: 1.5; }
.od-tip dt { display: flex; align-items: center; gap: 6px; }
.od-tip dd { text-align: right; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.od-tip i {
  width: 8px;
  height: 8px;
  border-radius: 3px;
  box-shadow: inset 0 0 0 1px #ffffff38;
}
.od-tip-active, .od-tip-total { font-weight: 650; }
.od-tip-total { margin-top: 5px; padding-top: 5px; border-top: 1px solid #ffffff35; }
.od-tabular {
  max-height: calc(var(--od-lower-height) - 90px);
  min-height: 190px;
  overflow: auto;
}
.od-tabular table {
  width: 100%;
  border-collapse: collapse;
  text-align: right;
  white-space: nowrap;
  font-size: 12px;
}
.od-tabular th,
.od-tabular td {
  padding: 7px 5px;
  border-bottom: 1px solid var(--od-line);
}
.od-tabular th {
  text-align: inherit;
  font-weight: 550;
}
.od-tabular th:first-child {
  text-align: left;
}
.od-tabular thead {
  position: sticky;
  top: 0;
  background: #f6f9f7;
}
.od-tabular button,
.od-register button {
  border: 0;
  background: transparent;
}
.od-tabular button {
  padding: 3px 1px;
  color: #266651;
  text-decoration: underline;
}
.od-no-flow {
  display: grid;
  gap: 4px;
  align-content: center;
  justify-items: center;
  flex: 1;
  text-align: center;
  color: var(--od-muted);
}
.od-no-flow strong {
  color: #36443d;
  font-size: 16px;
  font-weight: 550;
}
.od-no-flow span,
.od-register p {
  font-size: 13px;
}
.od-register {
  border-top: 1px solid var(--od-line);
  margin-top: 15px;
  padding: 14px 0 0;
}
.od-register header,
.od-record {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.od-register h3 {
  font-size: 15px;
  font-weight: 550;
}
.od-register p {
  color: var(--od-muted);
  margin: 3px 0 6px;
}
.od-register header button {
  padding: 6px;
}
.od-records {
  max-height: 230px;
  overflow: auto;
  margin-top: 6px;
}
.od-register .od-record {
  width: 100%;
  padding: 9px 2px;
  border-top: 1px solid var(--od-line);
  text-align: left;
  font-size: 13px;
}
.od-record:hover {
  background: #f5f8f6;
}
.od-record span:first-child {
  flex: 1;
  min-width: 0;
}
.od-record strong,
.od-record small {
  display: block;
  overflow-wrap: anywhere;
}
.od-record small {
  color: var(--od-muted);
  font-size: 11px;
}
.od-record b,
.od-record strong {
  font-weight: 550;
}
.od-record span:nth-child(2) {
  color: var(--od-muted);
}

.od-mix-overview { display: flex; gap: 20px; align-items: center; margin-top: auto; padding-top: 26px; }
.od-percent { display: inline-flex; align-items: baseline; color: #133b2e; font: 450 clamp(44px,5.1cqw,78px)/1 var(--display); letter-spacing: -.075em; }
.od-percent small { font-size: .53em; margin-left: 2px; color: #61746a; }
.od-mix-overview p { color: var(--od-muted); font-size: 13px; line-height: 1.45; }
.od-mix-track { display: flex; overflow: hidden; height: clamp(16px,2.4vh,27px); border-radius: 4px; background: #e8ede8; margin: 18px 0 11px; }
.od-mix-track i { flex: none; }
.od-mix-track i + i { border-left: 2px solid white; }
.od-rail-0 { background: var(--od-teal); }
.od-rail-1 { background: var(--od-lime); }
.od-rail-2 { background: var(--od-mint); }
.od-tiles { margin-top: auto; }
.od-tile { display: grid; grid-template-columns: minmax(0,1fr) auto 54px; align-items: center; gap: 10px; border-bottom: 1px solid var(--od-line); padding: clamp(10px,1.6vh,16px) 0; line-height: 1.2; font-size: 14px; }
.od-tile:last-child { border-bottom: 0; }
.od-tile:hover .od-rail-label { text-decoration: underline; text-underline-offset: 3px; }
.od-rail-label { display: flex; align-items: center; gap: 9px; font-weight: 550; }
.od-rail-label i { width: 9px; height: 9px; border-radius: 2px; flex: none; }
.od-rail-money { color: #5a665f; text-align: right; }
.od-tile strong { font-weight: 580; text-align: right; }
.od-no-rails { padding-block: 18px; color: var(--od-muted); font-size: 14px; }
.od-recent { padding-block: clamp(23px,3vh,34px) 0; }
.od-bottom .od-head h2, .od-recent .od-head h2 { font-size: clamp(19px,1.8cqw,25px); letter-spacing: -.045em; }
.od-recent table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 14px; }
.od-recent th, .od-recent td { text-align: left; padding: 9px 8px; }
.od-recent tr > :first-child { padding-left: 0; }
.od-recent tr > :last-child { padding-right: 0; text-align: right; }
.od-recent thead { color: #667369; border-block: 1px solid var(--od-line); }
.od-recent thead th { font-size: 12px; font-weight: 550; }
.od-recent tbody tr + tr { border-top: 1px solid var(--od-line); }
.od-recent-merchant { display: inline-flex; align-items: center; gap: 9px; max-width: 100%; padding: 1px; background: transparent; text-align: left; }
.od-recent-merchant:hover > span:last-child { text-decoration: underline; }
.od-recent-merchant > span:last-child { overflow-wrap: anywhere; font-weight: 550; }
.od-recent-merchant small { display: block; color: var(--od-muted); margin-top: 2px; font-size: 11px; font-weight: 400; }
.od-recent time { color: #5b665f; font-size: 13px; }
.od-status { font-size: 13px; }
@container byte-dashboard (max-width: 820px) {
  .od-top { --od-gap: 13px; }
  .od-bottom { --od-gap: 20px; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); }
  .od-chip { white-space: normal; }
  .od-legend { gap: 8px; }
  .od-chart .od-head { flex-wrap: wrap; }
  .od-mix-overview { align-items: start; gap: 6px; flex-direction: column; }
}
@container byte-dashboard (max-width: 680px) {
  .od-top { grid-template-columns: 1fr 1fr; row-gap: 22px; }
  .od-top .od-panel.od-holds {
    grid-column: 1/-1; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); column-gap: 18px;
    padding: 17px 0 0; border-left: 0; border-top: 1px solid var(--od-line);
  }
  .od-holds .od-head { grid-column: 1/-1; }
  .od-holds .od-primary { grid-column: 1; grid-row: 2/4; }
  .od-holds .od-meter { grid-row: 3; align-self: end; margin-top: 7px; }
  .od-holds .od-chips { align-self: end; }
  .od-bottom { grid-template-columns: minmax(0,1fr); --od-lower-height: 290px; row-gap: 23px; }
  .od-mix { min-height: auto; padding: 22px 0 0; border-left: 0; border-top: 1px solid var(--od-line); }
  .od-mix-overview { flex-direction: row; align-items: center; gap: 18px; padding-top: 16px; }
  .od-mix-track { margin-block: 13px 7px; }
  .od-mini-rails { margin-top: 15px !important; }
  .od-recent tr > :last-child { display: none; }
  .od-axis { font-size: 11px; }
  .od-col:nth-child(even) .od-axis { visibility: hidden; }
}
@container byte-dashboard (max-width: 465px) {
  .od-top { grid-template-columns: minmax(0,1fr); row-gap: 18px; padding-block: 20px; }
  .od-top .od-panel + .od-panel { border-left: 0; padding-left: 0; border-top: 1px solid var(--od-line); padding-top: 18px; }
  .od-primary { margin-top: 12px; }
  .od-volume .od-figure { font-size: clamp(35px,10.2cqw,47px); }
  .od-settlements .od-figure { font-size: 32px; }
  .od-holds .od-figure { font-size: clamp(22px,6.9cqw,31px); }
  .od-chip-stack { flex-direction: row; }
  .od-chips, .od-volume .od-chips, .od-settlements .od-chips { margin-top: 9px; }
  .od-pixels { width: 75px; }
  .od-head > span, .od-head a, .od-select, .od-legend button { font-size: 12px; }
  .od-mini-rails dt { font-size: 12px; }
  .od-mini-rails dd { font-size: 16px; }
  .od-bottom { --od-lower-height: 260px; }
  .od-chart .od-head h2 { flex: 1 1 100%; margin-bottom: 6px; }
  .od-ticks { height: 14px; gap: 2px; }
  .od-recent table { font-size: 13px; }
  .od-recent th, .od-recent td { padding-inline: 4px; }
  .od-recent tr > :nth-child(2), .od-recent-merchant .merchant-mark { display: none; }
  .od-recent tr > :nth-child(4) { text-align: right; padding-right: 0; }
}
