/* YieldYatra on the dashboard: the replay's form, figures and charts (colours from theme.css, 20261017bo). */
.yy-panel{margin:0 0 20px;scroll-margin-top:96px}
.yy-intro,.yy-status{margin:18px 24px;max-width:80ch;color:var(--t-ink-2);font-size:18px;line-height:1.6}
.yy-panel .mip-view-only{margin:0 24px 12px}
.yy-status[data-error="true"]{color:var(--t-bad);font-weight:700}
.yy-controls{display:flex;flex-wrap:wrap;align-items:flex-end;gap:14px;padding:0 24px 18px}
.yy-controls label{display:grid;flex:1 1 150px;gap:6px;min-width:140px;color:var(--t-ink);font-size:17px;font-weight:650}
.yy-controls input,.yy-controls select{width:100%;min-width:0;min-height:50px;padding:0 12px;border:2px solid var(--t-line-strong);border-radius:10px;background:var(--t-page);color:var(--t-ink);font-size:18px}
.yy-panel button{min-height:50px;padding:0 20px;border:2px solid var(--t-line-strong);border-radius:10px;background:var(--t-surface-2);color:var(--t-ink);font-size:18px;font-weight:750;cursor:pointer;white-space:normal}
.yy-panel button:not(:disabled):hover{border-color:var(--t-brand)}
.yy-panel #yyRun{border-color:var(--t-brand-line);background:var(--t-brand);color:var(--t-on-brand);box-shadow:0 8px 24px -10px rgba(242,169,59,.55)}
.yy-panel button:disabled{cursor:wait;filter:saturate(.6)}
.yy-options{flex-basis:100%;color:var(--t-ink)}
.yy-options summary{padding:8px 0;font-size:18px;font-weight:700;cursor:pointer}
.yy-options .yy-controls{padding:12px 0 0}
/* the replay's figures: the dashboard's tiles (app.css), in a well across the panel -- five across, then three,
   two, one */
.yy-metrics{margin:0;padding:20px 24px;border-top:1px solid var(--t-line);border-bottom:1px solid var(--t-line);background:rgba(0,0,0,.28)}
.yy-charts{display:grid;grid-template-columns:1.1fr 1fr;gap:1px;background:var(--t-line)}
.yy-charts figure{min-width:0;margin:0;padding:20px 24px;background:var(--t-surface)}
.yy-charts figcaption{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;color:var(--t-ink);font-size:19px;font-weight:750}
.yy-charts figcaption span{color:var(--t-accent);font-size:17px;font-weight:700}
.yy-charts figcaption i{color:var(--t-info);font-style:normal}
/* each line's last figure beside its name, and a fee in the table (20261018ca): a gain green, a loss or a cost red */
.yy-charts figcaption b{margin-left:4px;font-weight:800}
.yy-charts figcaption b.num-up{color:var(--t-good)}
.yy-charts figcaption b.num-down{color:var(--t-bad)}
.yy-table td.num-down{color:var(--t-bad);font-weight:700}
.yy-charts canvas{display:block;width:100%;height:260px;margin-top:12px}
.yy-charts p{margin:10px 0 0;color:var(--t-ink-2);font-size:17px}
.yy-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;padding:18px 24px}
.yy-toolbar p{margin:0;color:var(--t-ink-2)}
.yy-table{max-height:340px;overflow:auto}
.yy-table thead{position:sticky;top:0}
.yy-panel [hidden]{display:none !important}
/* 20261127t4: the trained models, several assets plus cash and Aptos on paper, under the replay
   (rust/mip_web/src/pages/yieldyatra_more.rs) */
.yy-more{border-top:1px solid var(--t-line)}
.yy-block{padding:6px 0 4px;border-bottom:1px solid var(--t-line)}
.yy-block:last-child{border-bottom:0}
.yy-block h3{margin:22px 24px 0;color:var(--t-ink);font-size:var(--t-fs-h3);font-weight:750;line-height:1.3}
.yy-block .yy-table{margin:0 0 6px}
.yy-table td.num-up{color:var(--t-good);font-weight:700}
.yy-checks{display:flex;flex-wrap:wrap;gap:6px 20px;flex:1 1 100%;min-width:0;margin:0;padding:10px 14px 12px;border:2px solid var(--t-line-strong);border-radius:10px}
.yy-checks legend{padding:0 6px;color:var(--t-ink);font-size:17px;font-weight:650}
.yy-controls .yy-check{display:inline-flex;flex:0 0 auto;align-items:center;gap:8px;min-width:0;min-height:44px;color:var(--t-ink);font-size:18px;font-weight:600;cursor:pointer}
.yy-controls .yy-check input{width:22px;height:22px;min-height:0;padding:0;accent-color:var(--t-brand)}
.yy-panel #yyPortfolioRun{border-color:var(--t-brand-line);background:var(--t-brand);color:var(--t-on-brand)}
.yy-portfolio-chart{margin:0;padding:20px 24px;background:var(--t-surface)}
.yy-portfolio-chart figcaption{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;color:var(--t-ink);font-size:19px;font-weight:750}
.yy-portfolio-chart figcaption .is-portfolio{color:var(--t-chart-1);font-size:17px}
.yy-portfolio-chart figcaption .is-held{margin-left:14px;color:var(--t-chart-2);font-size:17px;font-style:normal;font-weight:700}
.yy-svg-box{margin-top:12px;overflow-x:auto}
.yy-svg{display:block}
.yy-svg .yy-grid{stroke:var(--t-line);stroke-width:1}
.yy-svg .yy-grid.is-zero{stroke:var(--t-line-strong)}
.yy-svg .yy-axis{fill:var(--t-ink-2);font-family:var(--t-font);font-size:16px;font-weight:500}
.yy-svg .yy-axis.num-up{fill:var(--t-good)}
.yy-svg .yy-axis.num-down{fill:var(--t-bad)}
.yy-svg .yy-line{fill:none;stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round}
.yy-svg .yy-line.is-portfolio{stroke:var(--t-chart-1)}
.yy-svg .yy-line.is-held{stroke:var(--t-chart-2)}
@media (max-width:900px){
  .yy-charts{grid-template-columns:1fr}
  .yy-toolbar{flex-direction:column;align-items:stretch}
}
@media (max-width:450px){
  .yy-controls{padding-left:18px;padding-right:18px}
  .yy-controls label{flex-basis:100%}
  .yy-controls button{width:100%}
  .yy-intro,.yy-status,.yy-panel .mip-view-only{margin-left:18px;margin-right:18px}
  .yy-block h3{margin-left:18px;margin-right:18px}
  .yy-portfolio-chart{padding:16px 18px}
}
