/* Fields fill the first column; their side buttons share the second, so both rows end at the same edge. */ .form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-1-5) var(--space-2); align-items: center; padding: 14px var(--space-4); } .form > * { grid-column: 1 / -1; } .hint { margin: 0 0 6px; color: var(--fg-muted); line-height: 1.5; } .label { color: var(--fg); margin-top: 4px; } .row { display: contents; } .row > * { grid-column: auto; } .row > :only-child { grid-column: 1 / -1; } .grow { min-width: 0; } .folders { list-style: none; margin: 4px 0 0; padding: 4px 0; max-height: 220px; overflow: auto; border: 1px solid var(--border); border-radius: 4px; } .folder { display: flex; align-items: center; gap: var(--space-1-5); width: 100%; padding: 3px 8px; border: 0; background: none; color: var(--fg); font: inherit; text-align: left; cursor: default; } .folder:hover { background: var(--bg-hover); } .error { color: var(--danger); white-space: pre-wrap; overflow-wrap: anywhere; user-select: text; } .progress { display: flex; flex-direction: column; gap: var(--space-1-5); margin-top: 4px; } .progressLine { display: flex; align-items: center; gap: var(--space-1-5); color: var(--fg-muted); } .percent { margin-left: auto; font-variant-numeric: tabular-nums; } .lost { display: inline-flex; align-items: center; gap: var(--space-1); }