.auth { max-width: 380px; margin: 12vh auto 0; }
.auth h1 { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; margin: 0 0 8px; }
.auth p { color: var(--ink-soft); margin: 0 0 20px; }
.auth label { display: block; font-size: 14px; font-weight: 500; margin: 0 0 6px; }
.auth .error { color: var(--danger); font-size: 14px; min-height: 20px; margin-top: 8px; }

.dash-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 36px 0 20px; }
.dash-head h1 { font-size: clamp(36px, 7vw, 56px); font-weight: 800; letter-spacing: -0.03em; line-height: 0.95; margin: 0; }

.meter { font-size: 13px; color: var(--ink-soft); min-width: 200px; }
.meter .bar { height: 6px; border-radius: 3px; background: var(--panel); margin-top: 6px; overflow: hidden; }
.meter .bar i { display: block; height: 100%; background: var(--ink); }
.meter.warn .bar i { background: var(--needle); }
.meter.warn { color: var(--needle-deep); font-weight: 600; }

.new-project { background: var(--panel); border-radius: var(--radius-l); padding: 16px; display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; align-items: end; }
.new-project label { font-size: 13px; font-weight: 500; display: block; margin-bottom: 4px; }
@media (max-width: 640px) { .new-project { grid-template-columns: 1fr; } }

.projects { list-style: none; margin: 28px 0 0; padding: 0; }
.project { padding: 20px 0; border-bottom: 1px solid var(--line); }
.project-head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.project-title { font-size: 24px; font-weight: 600; letter-spacing: -0.01em; margin: 0; }
.project-title a { color: inherit; text-decoration: none; }
.project-title a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.project-artist { color: var(--ink-soft); font-size: 16px; }
.project-actions { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }

.vlist { list-style: none; padding: 0; margin: 10px 0 0; font-size: 14px; }
.vlist li { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; padding: 4px 0; }
.vlist .vname { font-weight: 600; min-width: 88px; }
.vlist .meta { color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.badge { background: var(--needle); color: var(--ink); border-radius: 999px; padding: 1px 9px; font-size: 12px; font-weight: 600; }

.upload { margin-top: 12px; background: var(--panel); border-radius: var(--radius-l); padding: 14px; }
.upload[hidden] { display: none; }
.drop {
  border: 2px dashed var(--groove); border-radius: 10px; padding: 22px; text-align: center; color: var(--ink-soft);
  cursor: pointer; display: block;
}
.drop.over { border-color: var(--ink); color: var(--ink); background: #fff; }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.progress { font-size: 14px; margin-top: 10px; font-variant-numeric: tabular-nums; }
.progress .bar { height: 6px; border-radius: 3px; background: var(--face); margin-top: 6px; overflow: hidden; }
.progress .bar i { display: block; height: 100%; width: 0; background: var(--ink); transition: width 0.2s; }

details.archived { margin-top: 36px; }
details.archived summary { cursor: pointer; color: var(--ink-soft); font-size: 15px; }
.project.is-archived .project-title { color: var(--ink-soft); }
