.chart-shell {
  height: 320px;
  background: #071426;
  border-color: #213653;
  user-select: none;
}
.dashboard-detail {
  position: relative;
  inset: auto;
  display: none;
  width: 100%;
  height: auto;
  min-height: calc(100vh - 80px);
  padding: 48px 0 80px;
  overflow: visible;
  background: transparent;
  box-shadow: none;
  transform: none;
  transition: none;
}
.dashboard-detail.open { display: block; }
main.detail-open > .page { display: none; }
main.detail-open .dashboard-detail { animation: chartPanelIn .28s ease; }
.dashboard-detail .drawer-head {
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid #dce7f4;
}
.dashboard-detail .drawer-head .icon-button {
  width: auto;
  padding: 0 13px;
  font-size: 0;
}
.dashboard-detail .drawer-head .icon-button::before {
  content: "← Back";
  font: 800 11px Manrope, Arial, sans-serif;
}
.dashboard-detail .chart-shell { height: min(58vh, 610px); }
.drawer-backdrop { display: none !important; }
@keyframes chartPanelIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.chart-shell canvas {
  display: block;
  touch-action: none;
  cursor: grab;
}
.chart-shell canvas.dragging { cursor: grabbing; }
.chart-shell:fullscreen {
  width: 100vw;
  height: 100vh;
  border: 0;
  border-radius: 0;
}
.chart-fullscreen {
  position: absolute;
  z-index: 4;
  right: 10px;
  top: 10px;
  width: 32px;
  height: 32px;
  border: 1px solid #38506d;
  border-radius: 7px;
  background: rgba(17, 35, 58, .9);
  color: #dcecff;
  font-size: 18px;
  line-height: 1;
}
.chart-fullscreen:hover { background: #1a4778; }
.chart-hint {
  position: absolute;
  z-index: 2;
  left: 76px;
  top: 10px;
  color: #7890ad;
  font: 9px 'DM Mono', monospace;
  pointer-events: none;
}
.chart-shell .chart-empty {
  color: #91a5bd;
  background: #071426;
}
@media (max-width: 760px) {
  .dashboard-detail { min-height: calc(100vh - 65px); padding: 28px 0 70px; }
  .dashboard-detail .chart-shell { height: 52vh; min-height: 330px; }
  .chart-hint { display: none; }
}
