.metric-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0;
}

.metric-row article {
  min-width: 0;
  min-height: 116px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.metric-row span {
  font-size: 13px;
  line-height: 1.25;
}

.metric-row strong {
  margin: 5px 0 3px;
  font-size: 29px;
  line-height: 1;
}

.metric-row small {
  font-size: 11px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.workspace-grid {
  grid-template-areas:
    "music prs"
    "music messages";
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
  height: 720px;
  align-items: stretch;
}

@media (max-width: 900px) {
  .metric-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.workspace-grid .music-panel {
  grid-area: music;
}

.workspace-grid .prs-panel {
  grid-area: prs;
}

.workspace-grid .messages-panel {
  grid-area: messages;
}

.workspace-grid .music-panel,
.workspace-grid .prs-panel,
.workspace-grid .messages-panel {
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.workspace-grid .upload-panel {
  grid-row: auto;
  align-self: start;
}

.music-panel .file-list,
.messages-panel .file-list {
  min-height: 0;
  max-height: none;
  overflow: auto;
  scrollbar-color: #8298a6 #e8eef2;
  scrollbar-width: thin;
}

.music-panel .file-list,
.messages-panel .file-list {
  flex: 1 1 auto;
}

.prs-panel .file-list {
  flex: 0 1 88px;
  min-height: 54px;
  max-height: 88px;
  overflow: auto;
  scrollbar-color: #8298a6 #e8eef2;
  scrollbar-width: thin;
}

.report-actions {
  display: flex;
  gap: 7px;
  align-items: center;
}

.prs-preview {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  margin-top: 20px;
  border: 1px solid #cbdbe5;
  border-radius: 9px;
  background: #f7fafc;
  overflow: hidden;
}

.prs-preview[hidden] {
  display: none;
}

.prs-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 12px 15px;
  background: #0c2737;
  color: #fff;
}

.prs-preview-head strong {
  overflow-wrap: anywhere;
}

.prs-preview-head button {
  border: 1px solid #ffffff55;
  border-radius: 5px;
  background: transparent;
  color: #fff;
  padding: 6px 9px;
  cursor: pointer;
}

.prs-preview iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  flex: 1 1 auto;
  border: 0;
  background: #fff;
}

.prs-preview pre {
  max-height: none;
  min-height: 0;
  flex: 1 1 auto;
  margin: 0;
  padding: 18px;
  overflow: auto;
  white-space: pre-wrap;
  color: #17384a;
  font: 13px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.prs-panel .prs-sheet {
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
  max-height: none;
  overflow: scroll;
  scrollbar-color: #8298a6 #e8eef2;
  scrollbar-width: auto;
}

.music-panel .file-list::-webkit-scrollbar,
.messages-panel .file-list::-webkit-scrollbar,
.prs-panel .file-list::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

.music-panel .file-list::-webkit-scrollbar-track,
.messages-panel .file-list::-webkit-scrollbar-track,
.prs-panel .file-list::-webkit-scrollbar-track {
  background: #e8eef2;
  border-radius: 10px;
}

.music-panel .file-list::-webkit-scrollbar-thumb,
.messages-panel .file-list::-webkit-scrollbar-thumb,
.prs-panel .file-list::-webkit-scrollbar-thumb {
  background: #8298a6;
  border: 2px solid #e8eef2;
  border-radius: 10px;
}

.report-placeholder {
  padding: 35px 22px;
  text-align: center;
  color: #617786;
}

@media (max-width: 850px) {
  .workspace-grid {
    grid-template-areas:
      "music"
      "prs"
      "messages";
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    height: auto;
  }

  .workspace-grid .prs-panel {
    min-height: 0;
  }

  .music-panel .file-list {
    max-height: 520px;
  }

  .messages-panel .file-list {
    max-height: 340px;
  }

  .prs-panel .file-list {
    flex-basis: auto;
    max-height: 170px;
  }

  .prs-preview {
    flex: none;
  }

  .prs-panel .prs-sheet {
    height: 340px;
    max-height: 340px;
  }

  .report-actions {
    grid-column: 2;
    justify-content: flex-end;
  }

  .prs-preview iframe {
    height: 340px;
  }
}

@media (max-width: 520px) {
  .metric-row {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .metric-row article {
    min-height: 92px;
    padding: 13px 15px;
  }

  .metric-row strong {
    font-size: 25px;
  }
}
.dashboard-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px}.player-launch{max-width:330px;border:0;border-radius:9px;background:linear-gradient(135deg,#08adeb,#1385cf);color:#03131d;padding:13px 16px;display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:10px;text-align:left;font:800 13px Manrope;box-shadow:0 12px 28px #078fd33b;cursor:pointer}.player-launch img{width:34px;height:34px;object-fit:contain}.player-launch span{font-size:18px}@media(max-width:850px){.dashboard-head{flex-wrap:wrap}.dashboard-actions{width:100%;justify-content:flex-start;flex-wrap:wrap}.player-launch{max-width:none;flex:1 1 260px}}
.dashboard-head{align-items:flex-start}.dashboard-actions{align-items:flex-start;padding-top:0}

button#launch-browser-player.player-launch{background:#fff!important;color:#0c2737!important;border:1px solid #cbdbe5!important;box-shadow:0 10px 24px #07151e1f!important}button#launch-browser-player.player-launch:hover{background:#f5fbfe!important;border-color:#76c9ec!important}button#launch-browser-player.player-launch:disabled{opacity:.6;cursor:wait}
.dashboard-actions .player-launch{width:300px;min-width:300px;max-width:300px;height:62px;min-height:62px;max-height:62px}.store-coming-soon{grid-template-columns:34px 1fr 18px!important;background:#fff!important;color:#0c2737!important;border:1px solid #cbdbe5!important;box-shadow:0 10px 24px #07151e1f!important;opacity:1!important;cursor:not-allowed!important}.store-copy{display:grid!important;gap:2px!important;font-size:inherit!important}.store-copy b{font:800 14px Manrope,sans-serif}.store-copy small{color:#617786;font:600 10px Manrope,sans-serif;white-space:nowrap}.microsoft-mark{width:32px;height:32px;display:grid!important;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:2px!important}.microsoft-mark i{display:block}.microsoft-mark i:nth-child(1){background:#f25022}.microsoft-mark i:nth-child(2){background:#7fba00}.microsoft-mark i:nth-child(3){background:#00a4ef}.microsoft-mark i:nth-child(4){background:#ffb900}@media(max-width:1120px){.dashboard-actions{flex-wrap:wrap}.dashboard-actions .player-launch{width:min(300px,100%);min-width:min(300px,100%);max-width:300px}}
.compact-upload{display:grid;grid-template-columns:minmax(240px,1fr) auto;align-items:center;gap:18px;margin-top:18px;padding:16px 20px;border-radius:10px;min-height:0}.compact-upload-copy .kicker{margin-bottom:4px}.compact-upload-copy h2{margin:0 0 3px;font:800 20px Manrope,sans-serif}.compact-upload-copy p:last-child{margin:0;color:#afc4cf;font-size:12px}.compact-upload .upload-actions{margin:0;flex-wrap:nowrap}.compact-upload .upload-button{min-width:138px;padding:11px 14px;font-size:12px;justify-content:center}.compact-upload .upload-queue{grid-column:1/-1}.compact-upload .upload-queue:empty{display:none}.music-panel .file-list{max-height:650px}@media(max-width:760px){.compact-upload{grid-template-columns:1fr}.compact-upload .upload-actions{flex-wrap:wrap}.compact-upload .upload-queue{grid-column:1}.music-panel .file-list{max-height:520px}}
