/* Page-specific tweaks */
.create-summary {
  display: none;
}
@media (min-width: 1100px) {
  .create-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 1rem;
    align-items: start;
  }
  .create-summary {
    display: block;
    position: sticky;
    top: calc(var(--appbar-h) + 1rem);
  }
}
.lib-layout {
  display: grid;
  gap: 1rem;
}
@media (min-width: 1100px) {
  .lib-layout {
    grid-template-columns: 220px minmax(0, 1fr);
  }
  .album-sidebar { display: block; }
  .album-rail { display: none; }
}
.album-sidebar { display: none; }
.album-sidebar a {
  display: flex; justify-content: space-between; gap: 0.5rem;
  padding: 0.55rem 0.7rem; border-radius: 10px; color: var(--ink);
  text-decoration: none; font-weight: 600;
}
.album-sidebar a.active { background: var(--accent-soft); color: var(--primary); }

.sched-table-wrap { overflow-x: auto; }
.sched-table {
  width: 100%; border-collapse: collapse; font-size: 0.92rem;
}
.sched-table th, .sched-table td {
  padding: 0.65rem 0.5rem; border-bottom: 1px solid var(--line); text-align: left;
  vertical-align: top;
}
.sched-cards { display: grid; gap: 0.65rem; }
@media (min-width: 1100px) {
  .sched-cards { display: none; }
}
@media (max-width: 1099px) {
  .sched-table-wrap { display: none; }
}

.stage-hero {
  padding: 1rem; border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--surface); margin-bottom: 1rem;
}
.stage-timeline { list-style: none; margin: 0.75rem 0 0; padding: 0; display: grid; gap: 0.35rem; }
.stage-timeline li {
  display: flex; justify-content: space-between; gap: 0.5rem;
  padding: 0.4rem 0.55rem; border-radius: 8px; background: var(--surface-2);
  font-size: 0.9rem;
}
.stage-timeline li.running { background: var(--accent-soft); }
.stage-timeline li.done { color: var(--ok); }
.stage-timeline li.failed { color: var(--danger); }

.report-chart-wrap { overflow-x: auto; }
.report-chart { width: 100%; max-width: 640px; height: auto; }
.report-chart-grid { stroke: var(--line); stroke-width: 1; }
.report-chart-label { fill: var(--muted); font-size: 11px; font-family: var(--font-body); }
.report-line.score { stroke: var(--accent); stroke-width: 2.5; }
.report-line.avp { stroke: var(--plat-ig); stroke-width: 2; stroke-dasharray: 4 3; }
.report-legend { display: flex; gap: 1rem; }
.report-legend .lg.score::before,
.report-legend .lg.avp::before {
  content: ""; display: inline-block; width: 14px; height: 3px; margin-right: 0.35rem;
  vertical-align: middle; background: var(--accent);
}
.report-legend .lg.avp::before { background: var(--plat-ig); }

.upload-progress {
  margin: 0.75rem 0 0; padding: 0.65rem 0.75rem; border-radius: 10px;
  background: var(--accent-soft); font-weight: 600;
}
